Skip to content

Commit

Permalink
fix: static requirements (#910)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoralez authored Sep 13, 2024
1 parent 5a064db commit f843f92
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import glob
import sys

import setuptools
from configparser import ConfigParser
Expand Down Expand Up @@ -38,7 +37,9 @@
min_python = cfg['min_python']
lic = licenses.get(cfg['license'].lower(), (cfg['license'], None))
dask_requirements = cfg['dask_requirements'].split()
ray_requirements = cfg['ray_requirements'].split()
ray_requirements = [
req + " ; python_version < '3.12'" for req in cfg['ray_requirements'].split()
]
spark_requirements = cfg['spark_requirements'].split()
plotly_requirements = cfg['plotly_requirements'].split()
polars_requirements = cfg['polars_requirements'].split()
Expand All @@ -49,9 +50,8 @@
*plotly_requirements,
*polars_requirements,
*dev_requirements,
*ray_requirements,
]
if sys.version_info < (3, 12):
all_requirements.extend(ray_requirements)

ext_modules = [
Pybind11Extension(
Expand Down

0 comments on commit f843f92

Please sign in to comment.