Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: "3.x"
python-version: "3.13"
cache: "pip"

- name: Install dependencies
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.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
15 changes: 8 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ classifiers = [
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
]
requires-python = ">= 3.9"
dynamic = ["version"]
Expand All @@ -33,17 +34,17 @@ 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",
"chardet==5.2.0",
"cython==3.1.1",
"setuptools==80.8.0",
"pytest==8.3.5",
"ruff==0.11.10",
]

[tool.ruff]
exclude = ["src/ext"]
line-length = 100
target-version = "py39"
target-version = "py313"
lint.select = ["E", "F", "I", "N"]
format.quote-style = "double"
format.indent-style = "space"
Expand All @@ -52,7 +53,7 @@ format.indent-style = "space"
skip = "pp* cp36-* cp37-* cp38-*"
archs = "auto"
before-build = [
"pip install cython==3.0.10",
"pip install cython==3.1.1",
"cython {project}/src/cchardet/_cchardet.pyx",
]

Expand Down
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.1.1
pytest==8.3.5
ruff==0.11.10
setuptools==80.8.0
Loading