Skip to content

Commit

Permalink
Fix version specifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanwweber committed Jul 30, 2024
1 parent a3088fc commit 46d59c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -1699,13 +1699,16 @@ env["python_max_version"] = python_max_version
env["py_requires_ver_str"] = py_requires_ver_str
env["cython_version_spec"] = SpecifierSet(">=0.29.31")
env["numpy_version_spec"] = SpecifierSet(">=1.12.0,<3")
env["cython_version_spec_str"] = str(env["cython_version_spec"])
env["numpy_version_spec_str"] = str(env["numpy_version_spec"])

# We choose ruamel.yaml 0.15.34 as the minimum version
# since it is the highest version available in the Ubuntu
# 18.04 repositories and seems to work. Older versions such as
# 0.13.14 on CentOS7 and 0.10.23 on Ubuntu 16.04 raise an exception
# that they are missing the RoundTripRepresenter
env["ruamel_version_spec"] = SpecifierSet(">=0.15.34")
env["ruamel_version_spec_str"] = str(env["ruamel_version_spec"])

# Minimum pytest version assumed based on Ubuntu 20.04
env["pytest_version_spec"] = SpecifierSet(">=4.6.9")
Expand Down
6 changes: 3 additions & 3 deletions interfaces/cython/setup.cfg.in
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ project_urls =
[options]
zip_safe = False
install_requires =
numpy @numpy_version_spec!s@
ruamel.yaml @ruamel_version_spec!s@
python_requires @py_requires_ver_str@
numpy @numpy_version_spec_str@
ruamel.yaml @ruamel_version_spec_str@
python_requires = @py_requires_ver_str@
packages =
cantera
cantera.data
Expand Down

0 comments on commit 46d59c3

Please sign in to comment.