Skip to content

Commit

Permalink
fix: compatibility with python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelotduarte committed Jan 4, 2025
1 parent 2adba58 commit b85a62e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sphinx>=7.1.2,<8
sphinx-new-tab-link==0.6.1
sphinx-new-tab-link>=0.6.0
sphinx-tabs==3.4.7
furo==2024.8.6
myst-parser>=3.0.1,<=4.0.0
20 changes: 17 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ dev = [
]
doc = [
"sphinx>=7.1.2,<8", # lower limit python_version < 3.9
"sphinx-new-tab-link==0.6.1",
"sphinx-new-tab-link>=0.6.0",
"sphinx-tabs==3.4.7",
"furo==2024.8.6",
"myst-parser>=3.0.1,<=4.0.0", # lower limit python_version < 3.10
Expand Down Expand Up @@ -123,8 +123,21 @@ target-version = ["py38"]
commit = true
current_version = "7.2.7"
message = "Bump version: {current_version} → {new_version} [ci skip]"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\-(?P<pre>[a-z]+)\\.(?P<build>\\d+))?"
parse = """(?x)
(?P<major>0|[1-9]\\d*)\\.
(?P<minor>0|[1-9]\\d*)\\.
(?P<patch>0|[1-9]\\d*)
(?:
\\.(?P<optional>0|[1-9]\\d*) # pull request number (optional)
)?
(?:
- # dash separator for pre-release section
(?P<pre>[a-zA-Z-]+)\\. # pre-release label
(?P<build>0|[1-9]\\d*) # pre-release version number
)? # pre-release section is optional
"""
serialize = [
"{major}.{minor}.{patch}.{optional}-{pre}.{build}",
"{major}.{minor}.{patch}-{pre}.{build}",
"{major}.{minor}.{patch}"
]
Expand All @@ -148,7 +161,8 @@ before-build = "pip install -r requirements.txt"
build-frontend = "build[uv]"
build-verbosity = 1
skip = [
"cp3{8,9}-{many,musl}linux_{aarch64,ppc64le}",
"cp3{8,9}-musllinux_*",
"cp3{8,9}-manylinux_ppc64le",
]

[tool.cibuildwheel.linux]
Expand Down

0 comments on commit b85a62e

Please sign in to comment.