Skip to content

Commit

Permalink
Add support for Python 3.12 (#13)
Browse files Browse the repository at this point in the history
* Add support for Python 3.12
Signed-off-by: Bartosz Lewandowski <[email protected]>

* Remove Python 3.7 support
Signed-off-by: Bartosz Lewandowski <[email protected]>

* Update lock files
Signed-off-by: Bartosz Lewandowski <[email protected]>

* Set toolchain: stable for test workflow
Signed-off-by: Bartosz Lewandowski <[email protected]>
  • Loading branch information
bartosz-rippling authored Oct 15, 2024
1 parent 19e2c71 commit f28c9d4
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 68 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-path: ['cp37-cp37m', 'cp38-cp38', 'cp39-cp39', 'cp310-cp310', 'cp311-cp311']
python-path: ['cp38-cp38', 'cp39-cp39', 'cp310-cp310', 'cp311-cp311', 'cp312-cp312']
container: quay.io/pypa/manylinux_2_28_x86_64:latest
env:
TWINE_PASSWORD: ${{secrets.TWINE_PASSWORD}}
Expand All @@ -40,7 +40,7 @@ jobs:
name: Release macOS
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
target-arch: ['x86_64-apple-darwin']
runs-on: macos-latest
env:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
toolchain: stable
override: true
- name: Set up Python
uses: actions/setup-python@v2
Expand All @@ -42,7 +42,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
Expand All @@ -58,7 +58,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
Expand All @@ -71,7 +71,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-path: ['cp37-cp37m', 'cp38-cp38', 'cp39-cp39', 'cp310-cp310', 'cp311-cp311']
python-path: ['cp38-cp38', 'cp39-cp39', 'cp310-cp310', 'cp311-cp311', 'cp312-cp312']
container: quay.io/pypa/manylinux_2_28_x86_64:latest
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rfernet"
version = "0.3.2"
version = "0.3.3"
authors = ["Aviram Hassan <[email protected]>"]
description = "Fast Fernet bindings for Python"
license = "MIT"
Expand Down
56 changes: 3 additions & 53 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "rfernet"
requires-python = ">=3.7"
requires-python = ">=3.8"
classifier = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand All @@ -9,25 +9,25 @@ classifier = [
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python",
"Programming Language :: Rust",
"Typing :: Typed",
]

[tool.poetry]
name = "rfernet"
version = "0.3.2"
version = "0.3.3"
description = "Fast Fernet bindings for Python"
authors = ["Aviram Hassan <[email protected]>"]
license = "MIT"

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8"

[tool.poetry.dev-dependencies]
pytest = "^7.4"
Expand All @@ -39,7 +39,7 @@ strip = true

[tool.black]
line-length = 88
target-version = ['py37', 'py38']
target-version = ['py38']
include = '\.pyi?$'

[build-system]
Expand Down

0 comments on commit f28c9d4

Please sign in to comment.