diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d297dd9..ec8373e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: @@ -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 @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9365d2e..c9275c5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ on: workflow_dispatch: env: - MATURIN_VERSION: 1.1.0 + MATURIN_VERSION: 1.3.0 jobs: linux: @@ -16,7 +16,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 @@ -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 @@ -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 diff --git a/Cargo.toml b/Cargo.toml index c1b722a..e28366c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 " @@ -16,6 +16,7 @@ repository = "https://github.com/rp-libs/ulid-rs-py" include = [ "/Cargo.toml", "/pyproject.toml", + "/build.rs", "/LICENSE", "/README.md", "/src", @@ -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 diff --git a/pyproject.toml b/pyproject.toml index decd570..afb277c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", diff --git a/ulid/__version__.py b/ulid/__version__.py index b3f4756..d3ec452 100644 --- a/ulid/__version__.py +++ b/ulid/__version__.py @@ -1 +1 @@ -__version__ = "0.1.2" +__version__ = "0.2.0"