Skip to content

Commit

Permalink
feat: support python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
PyYoshi committed Dec 20, 2024
1 parent fa74a8e commit 917bddd
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
make cython
- name: Build
uses: pypa/cibuildwheel@v2.18.1
uses: pypa/cibuildwheel@v2.22.0
env:
# NOTICE: ローカルでは想定通りにテストは通るが、 cibuildwheel では 特定のファイルの文字コード検知がうまくいかないので一時的に無効化する
# CIBW_TEST_REQUIRES: "pytest"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
py: ["3.13-dev", "3.12", "3.11", "3.10", "3.9"]
py: ["3.14-dev", "3.13", "3.12", "3.11", "3.10", "3.9"]

runs-on: ${{ matrix.os }}
name: Run test with Python ${{ matrix.py }} on ${{ matrix.os }}
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ version = { attr = "cchardet.__version__" }
[tool.rye]
dev-dependencies = [
"chardet>=5.2.0",
"cython>=3.0.10",
"setuptools>=70.0.0",
"pytest>=8.2.1",
"ruff>=0.4.6",
"cython>=3.0.11",
"setuptools>=75.6.0",
"pytest>=8.3.4",
"ruff>=0.8.4",
]

[tool.ruff]
Expand Down
9 changes: 5 additions & 4 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@
# all-features: false
# with-sources: false
# generate-hashes: false
# universal: false

-e file:.
chardet==5.2.0
cython==3.0.10
cython==3.0.11
iniconfig==2.0.0
# via pytest
packaging==24.0
# via pytest
pluggy==1.5.0
# via pytest
pytest==8.2.1
ruff==0.4.6
setuptools==70.0.0
pytest==8.3.4
ruff==0.8.4
setuptools==75.6.0
8 changes: 4 additions & 4 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
chardet==5.2.0
cython==3.0.10
pytest==8.2.1
ruff==0.4.6
setuptools==70.0.0
cython==3.0.11
pytest==8.3.4
ruff==0.8.4
setuptools==75.6.0
1 change: 1 addition & 0 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
# all-features: false
# with-sources: false
# generate-hashes: false
# universal: false

-e file:.

0 comments on commit 917bddd

Please sign in to comment.