Skip to content

Commit

Permalink
Python 3.12 support (#184)
Browse files Browse the repository at this point in the history
* setup.py: Allow Python 3.12
* pyproject.toml (tool.cibuildwheel): Do not build 3.12 i686 wheel because there is no numpy wheel
  • Loading branch information
mkoeppe authored Oct 21, 2023
1 parent df5252f commit ee90a81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ before-all = """
eval ./coinbrew build Cbc@2.10.10 --no-third-party --parallel-jobs 16 --prefix=$(pwd)/local --verbosity 4 $config_args || echo ignoring errors
"""
environment = { PATH="$(pwd)/local/bin:$PATH", LD_LIBRARY_PATH="$(pwd)/local/lib:$LD_LIBRARY_PATH", PKG_CONFIG_PATH="$(pwd)/local/lib/pkgconfig:$PKG_CONFIG_PATH" }
skip = ["pp*-macosx*", "*-musllinux*", "pp31*-*", "pp*-*i686"]
skip = ["pp*-macosx*", "*-musllinux*", "pp31*-*", "pp*-*i686", "cp312-*i686"]
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,5 @@
cmdclass={'build_ext': build_ext},
ext_modules=ext_modules,
install_requires=['numpy >= 1.5.0', 'scipy >= 0.10.0'],
python_requires="<3.12",
zip_safe = False,
package_data={"cylp": extra_files})

0 comments on commit ee90a81

Please sign in to comment.