-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #194 from oscarbenjamin/pr_flint_version_cap
Add CPython 3.13 and set dependency version constraints
- Loading branch information
Showing
4 changed files
with
128 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
option('coverage', type : 'boolean', value : false, description : 'enable coverage build') | ||
option('add_flint_rpath', type : 'boolean', value : false) | ||
option('flint_version_check', type: 'boolean', value : true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
[build-system] | ||
requires = ["meson-python", "cython"] | ||
build-backend = "mesonpy" | ||
|
||
[project] | ||
name = "python-flint" | ||
description = "Bindings for FLINT and Arb" | ||
description = "Bindings for FLINT" | ||
version = "0.7.0a4" | ||
requires-python = ">= 3.9" | ||
urls = {Homepage = "https://github.com/flintlib/python-flint"} | ||
authors = [ | ||
{name = "Fredrik Johansson", email = "[email protected]"}, | ||
|
@@ -19,6 +16,23 @@ classifiers = [ | |
file = "README.md" | ||
content-type = "text/markdown" | ||
|
||
[build-system] | ||
# | ||
# Minimum build requirements tested in CI need to be kept in sync with the | ||
# versions in requires below so that they are tested. | ||
# | ||
# The upper cap on Cython is speculative but we may as well cap it given that | ||
# it is only a build requirement and that it is not uncommon for newer Cython | ||
# versions to break the build. For example Cython 3.0 broke the build and then | ||
# Cython 3.1 broke the build again so python-flint 0.6.0 did not have any upper | ||
# cap but it should have had cython>=3.0,<3.1 i.e. precisely one minor release | ||
# of Cython works. In future we could contemplate not having an upper cap but | ||
# until we have actually witnessed a Cython 3.x release that does not break the | ||
# build we should keep the upper cap. | ||
# | ||
requires = ["meson-python>=0.13", "cython>=3.0,<3.1"] | ||
build-backend = "mesonpy" | ||
|
||
[tool.spin] | ||
package = "flint" | ||
|
||
|
@@ -41,7 +55,9 @@ package = "flint" | |
] | ||
|
||
[tool.cibuildwheel] | ||
build = "cp39-* cp310-* cp311-* cp312-*" | ||
# requires-python needs to keep in sync with this and also the list of Python | ||
# versions the wheels are tested against in CI. | ||
build = "cp39-* cp310-* cp311-* cp312-* cp313-*" | ||
skip = "*-win32 *-manylinux_i686 *-musllinux_*" | ||
manylinux-x86_64-image = "manylinux2014" | ||
manylinux-i686-image = "manylinux2014" | ||
|