Skip to content
Merged
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/Publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
name: wheels-windows-2025
path: dist

- uses: pypa/gh-action-pypi-publish@v1.14.2
- uses: pypa/gh-action-pypi-publish@v1.14.3
with:
user: __token__
# password: ${{ secrets.PYPI_TEST_API_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/psf/black
rev: "26.10.0"
rev: "26.10.1"
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.16.10
rev: v0.17.2
hooks:
- id: ruff
- repo: https://github.com/RobertCraigie/pyright-python
Expand Down
3 changes: 1 addition & 2 deletions libzim/writer.pyi
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from __future__ import annotations

import datetime
import enum
import pathlib
import types
Expand Down Expand Up @@ -70,7 +69,7 @@ class Creator:
def add_metadata(
self,
name: str,
content: str | bytes | datetime.date | datetime.datetime,
content: str | bytes,
mimetype: str = "text/plain;charset=UTF-8",
) -> None: ...
def add_redirection(
Expand Down
20 changes: 10 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"setuptools == 84.0.0",
"setuptools == 84.2.1",
"wheel == 0.48.0",
"cython == 3.3.0",
# https://github.com/pypa/cibuildwheel/blob/v2.22/cibuildwheel/resources/constraints.txt
Expand Down Expand Up @@ -49,8 +49,8 @@ scripts = [
"invoke==3.0.3",
]
lint = [
"black==26.10.0",
"ruff==0.16.10",
"black==26.10.1",
"ruff==0.17.2",
"libzim",
"libzim[build]",
]
Expand All @@ -63,28 +63,28 @@ check = [
]
test = [
"pytest==9.1.1",
"coverage==7.16.2",
"coverage==7.17.0",
# for cython coverage plugin
"libzim[build]",
]
build = [
"setuptools == 84.0.0",
"setuptools == 84.2.1",
"wheel == 0.48.0",
"cython == 3.3.0",
"delocate == 0.13.0 ; platform_system=='Windows'",
]
docs = [
"mkdocs==1.6.1",
"mkdocstrings-python==2.0.9",
"mkdocs-material==9.7.7",
"pymdown-extensions==12.1",
"mkdocstrings-python==2.0.10",
"mkdocs-material==9.8.0",
"pymdown-extensions==12.3",
"mkdocs-gen-files==0.6.1",
"mkdocs-literate-nav==0.6.3",
"mkdocs-include-markdown-plugin==7.3.0",
"griffe==2.3.0",
"griffe==2.4.1",
]
dev = [
"pre-commit==4.6.2",
"pre-commit==4.7.0",
"ipython==9.17.1",
"types-setuptools",
"libzim[scripts]",
Expand Down
Loading