Skip to content

Commit

Permalink
Various build updates (#2717)
Browse files Browse the repository at this point in the history
  • Loading branch information
sloria authored Jan 3, 2025
1 parent 6ac7089 commit 1a58c1f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.13"
- name: Install pypa/build
run: python -m pip install build
- name: Build a binary wheel and a source tarball
Expand All @@ -74,7 +74,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.13"
- run: python -m pip install tox
- run: python -m tox -e lint
publish-to-pypi:
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ci:
autoupdate_schedule: monthly
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.1
rev: v0.8.5
hooks:
- id: ruff
- id: ruff-format
Expand All @@ -16,9 +16,9 @@ repos:
rev: 1.19.1
hooks:
- id: blacken-docs
additional_dependencies: [black==23.12.1]
additional_dependencies: [black==24.10.0]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
rev: v1.14.1
hooks:
- id: mypy
additional_dependencies: [types-simplejson, packaging]
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ formats:
build:
os: ubuntu-22.04
tools:
python: "3.11"
python: "3.13"
python:
install:
- method: pip
Expand Down
6 changes: 2 additions & 4 deletions docs/upgrading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1117,14 +1117,12 @@ should accept ``**kwargs``:
# 2.x
class MyCustomField(fields.Field):
def _deserialize(self, value, attr, obj):
...
def _deserialize(self, value, attr, obj): ...
# 3.x
class MyCustomField(fields.Field):
def _deserialize(self, value, attr, obj, **kwargs):
...
def _deserialize(self, value, attr, obj, **kwargs): ...
Upgrading to 2.3
Expand Down

0 comments on commit 1a58c1f

Please sign in to comment.