Skip to content

Commit

Permalink
undo 3.9 deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
diceroll123 committed Oct 7, 2024
1 parent 53eda1d commit f34ceda
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.x"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.x"]

name: pytest ${{ matrix.python-version }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name = "neofoodclub"
crate-type = ["cdylib"]

[dependencies]
pyo3 = { version = "0.22.3", features = ["extension-module", "abi3-py310"] }
pyo3 = { version = "0.22.3", features = ["extension-module", "abi3-py39"] }
neofoodclub = { path = "./neofoodclub_rs" }
chrono = "0.4.38"

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Notes:

## Installing

**Python 3.10 or higher is required**
**Python 3.9 or higher is suggested**

```sh
pip install neofoodclub
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ exclude = [
]
reportUnnecessaryTypeIgnoreComment = "warning"
reportUnusedImport = "error"
pythonVersion = "3.10"
pythonVersion = "3.9"
typeCheckingMode = "basic"

[tool.ruff]
show-fixes = true
target-version = "py310"
target-version = "py39"

[tool.ruff.lint]
extend-select = [
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@
packages=packages,
package_data=package_data,
rust_extensions=[RustExtension("neofoodclub.neofoodclub", binding=Binding.PyO3)],
python_requires=">=3.10.0",
python_requires=">=3.9.0",
classifiers=[
"Programming Language :: Rust",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down

0 comments on commit f34ceda

Please sign in to comment.