Skip to content

Commit

Permalink
feat: support py312 (#8)
Browse files Browse the repository at this point in the history
Signed-off-by: vvanglro <vvanglro@gmail.com>
  • Loading branch information
vvanglro committed Jan 10, 2024
1 parent 776dd59 commit 7d22d78
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
workflow_dispatch:

env:
MATURIN_VERSION: 1.1.0
PY_ALL: 3.8 3.9 3.10 3.11 pypy3.8 pypy3.9
MATURIN_VERSION: 1.3.0
PY_ALL: 3.8 3.9 3.10 3.11 3.12 pypy3.8 pypy3.9 pypy3.10

jobs:
sdist:
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
- os: ubuntu
platform: linux
- os: macos
interpreter: 3.8 3.9 3.10 3.11 pypy3.9
interpreter: 3.8 3.9 3.10 3.11 3.12 pypy3.9 pypy3.10
- os: ubuntu
platform: linux
target: aarch64
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
wheel-win:
runs-on: windows-latest
env:
PY_ALL: 3.8 3.9 3.10 3.11 C:\hostedtoolcache\windows\PyPy\3.9.17\x86\python3.exe
PY_ALL: 3.8 3.9 3.10 3.11 3.12 pypy3.8 pypy3.9 pypy3.10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ on:
workflow_dispatch:

env:
MATURIN_VERSION: 1.1.0
MATURIN_VERSION: 1.3.0

jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v2
Expand All @@ -40,7 +40,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v2
Expand All @@ -64,7 +64,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v2
Expand Down
7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ulid-rs-py"
version = "0.1.2"
version = "0.2.0"
description = "Use rust ulid crate to rewrite python ulid library"
authors = [
"vvanglro <vvanglro@gmail.com>"
Expand All @@ -16,6 +16,7 @@ repository = "https://github.com/rp-libs/ulid-rs-py"
include = [
"/Cargo.toml",
"/pyproject.toml",
"/build.rs",
"/LICENSE",
"/README.md",
"/src",
Expand All @@ -34,12 +35,12 @@ crate-type = ["cdylib"]

[dependencies]
chrono = "0.4.26"
pyo3 = { version = "0.19.1", features = ["extension-module"] }
pyo3 = { version = "=0.20.1", features = ["extension-module", "generate-import-lib"] }
ulid = { version = "1.0.0", features = ["uuid"] }
uuid = "1.4.1"

[build-dependencies]
pyo3-build-config = { version = "0.19.1", features = ["resolve-config"] }
pyo3-build-config = { version = "=0.20.1", features = ["resolve-config"] }

[profile.release]
codegen-units = 1
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python",
Expand Down
2 changes: 1 addition & 1 deletion ulid/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.2"
__version__ = "0.2.0"

0 comments on commit 7d22d78

Please sign in to comment.