Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zhPavel committed Dec 14, 2024
1 parent 2f10b69 commit 8742ce8
Show file tree
Hide file tree
Showing 52 changed files with 272 additions and 275 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ files: |-
)$
default_stages:
- commit
- push
- pre-commit
- pre-push

repos:
- repo: 'https://github.com/pre-commit/pre-commit-hooks'
rev: v4.5.0
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: debug-statements
Expand All @@ -33,7 +33,7 @@ repos:
args: ['-e'] # remove default --in-place argument and emit error

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.2
rev: v0.8.3
hooks:
- id: ruff
args: [ --fix-only ]
Expand Down
8 changes: 4 additions & 4 deletions benchmarks/benchmarks/pybench/director_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
from benchmarks.pybench.utils import get_function_object_ref, load_by_object_ref

__all__ = (
"BenchmarkDirector",
"BenchSchema",
"PlotParams",
"CheckParams",
"BenchAccessor",
"BenchChecker",
"BenchSchema",
"BenchmarkDirector",
"CheckParams",
"PlotParams",
)

EnvSpec = Mapping[str, str]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ruff: noqa: F821
from dataclasses import dataclass
from datetime import datetime

Expand Down
1 change: 1 addition & 0 deletions docs/loading-and-dumping/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ is replaced by standard `ExceptionGroup <https://docs.python.org/3/library/excep
For the dumping process any exception is unexpected, so it always will be wrapped with ``ExceptionGroup``

.. literalinclude:: /examples/loading-and-dumping/tutorial/unexpected_error.py
:lines: 2-

Trail of exception is stored at a special private attribute and could be accessed via :class:`~.struct_trail.get_trail`.

Expand Down
15 changes: 8 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ['setuptools==74.1.0']
requires = ['setuptools==75.6.0']
build-backend = 'setuptools.build_meta'

[project]
Expand Down Expand Up @@ -36,9 +36,9 @@ classifiers = [
attrs = ['attrs >= 21.3.0']
attrs-strict = ['attrs >= 21.3.0, <= 24.2.0']
sqlalchemy = ['sqlalchemy >= 2.0.0']
sqlalchemy-strict = ['sqlalchemy >= 2.0.0, <= 2.0.32']
sqlalchemy-strict = ['sqlalchemy >= 2.0.0, <= 2.0.36']
pydantic = ['pydantic >= 2.0.0']
pydantic-strict = ['pydantic >= 2.0.0, <= 2.8.2']
pydantic-strict = ['pydantic >= 2.0.0, <= 2.10.3']

[project.urls]
'Homepage' = 'https://github.com/reagento/adaptix'
Expand Down Expand Up @@ -127,6 +127,8 @@ fixable = [
'COM812',
'D400',
'PT001',
'RUF023',
'RUF022',
]
ignore = [
# Rules that should be turned on in the near future
Expand All @@ -151,20 +153,19 @@ ignore = [
'ARG',
'D100',
'PLR0913',
'TCH002',
'TC002',

# Strange and obscure rules that will never be turned on
'ANN101',
'FA100',
'TRY003',
'TRY201',
'EM',
'PERF203',
'TCH001',
'TC001',
'TD002',
'PTH201',
'RSE102',
'TCH003',
'TC003',
'PYI025',

# Rules conflictin with other tools
Expand Down
8 changes: 4 additions & 4 deletions requirements/bench.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mashumaro==3.10
# via -r requirements/raw/bench.txt
msgspec==0.18.4 ; implementation_name != 'pypy'
# via -r requirements/raw/bench.txt
packaging==24.1
packaging==24.2
# via
# marshmallow
# pytest
Expand All @@ -28,13 +28,13 @@ psutil==5.9.5
# via
# -r requirements/raw/bench.txt
# pyperf
pydantic==2.8.2
pydantic==2.10.3
# via -r requirements/raw/bench.txt
pydantic-core==2.20.1
pydantic-core==2.27.1
# via pydantic
pyperf==2.6.1
# via -r requirements/raw/bench.txt
pytest==7.4.2
pytest==8.3.4
# via -r requirements/raw/bench.txt
schematics==2.1.1
# via -r requirements/raw/bench.txt
Expand Down
88 changes: 42 additions & 46 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,33 +22,33 @@ cachetools==5.5.0
# via tox
cattrs==23.1.2
# via -r requirements/raw/bench.txt
certifi==2024.8.30
certifi==2024.12.14
# via requests
cfgv==3.4.0
# via pre-commit
chardet==5.2.0
# via tox
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
click==8.1.7
# via towncrier
colorama==0.4.6
# via
# radon
# tox
contourpy==1.3.0
contourpy==1.3.1
# via matplotlib
coverage==7.4.4
coverage==7.6.9
# via
# -r requirements/raw/runner.txt
# -r requirements/raw/test_extra_none.txt
cycler==0.12.1
# via matplotlib
dataclass-factory==2.16
# via -r requirements/raw/bench.txt
dirty-equals==0.7.1.post0
dirty-equals==0.8.0
# via -r requirements/raw/test_extra_none.txt
distlib==0.3.8
distlib==0.3.9
# via virtualenv
dlint==0.14.1
# via -r requirements/raw/lint.txt
Expand All @@ -61,30 +61,28 @@ docutils==0.21.2
# sphinx-paramlinks
docutils-stubs==0.0.22
# via -r requirements/raw/doc.txt
filelock==3.15.4
filelock==3.16.1
# via
# tox
# virtualenv
flake8==7.1.1
# via dlint
fonttools==4.53.1
fonttools==4.55.3
# via matplotlib
furo==2024.8.6
# via -r requirements/raw/doc.txt
gitdb==4.0.11
# via gitpython
gitpython==3.1.43
# via -r requirements/raw/doc.txt
greenlet==3.0.3 ; (python_full_version < '3.13' and platform_machine == 'AMD64') or (python_full_version < '3.13' and platform_machine == 'WIN32') or (python_full_version < '3.13' and platform_machine == 'aarch64') or (python_full_version < '3.13' and platform_machine == 'amd64') or (python_full_version < '3.13' and platform_machine == 'ppc64le') or (python_full_version < '3.13' and platform_machine == 'win32') or (python_full_version < '3.13' and platform_machine == 'x86_64')
greenlet==3.1.1 ; (python_full_version < '3.13' and platform_machine == 'AMD64') or (python_full_version < '3.13' and platform_machine == 'WIN32') or (python_full_version < '3.13' and platform_machine == 'aarch64') or (python_full_version < '3.13' and platform_machine == 'amd64') or (python_full_version < '3.13' and platform_machine == 'ppc64le') or (python_full_version < '3.13' and platform_machine == 'win32') or (python_full_version < '3.13' and platform_machine == 'x86_64')
# via sqlalchemy
identify==2.6.0
identify==2.6.3
# via pre-commit
idna==3.8
idna==3.10
# via requests
imagesize==1.4.1
# via sphinx
incremental==24.7.2
# via towncrier
iniconfig==2.0.0
# via pytest
invoke==2.2.0
Expand All @@ -94,7 +92,7 @@ jinja2==3.1.4
# myst-parser
# sphinx
# towncrier
kiwisolver==1.4.5
kiwisolver==1.4.7
# via matplotlib
lxml==5.3.0
# via astpath
Expand All @@ -104,7 +102,7 @@ markdown-it-py==3.0.0
# via
# mdit-py-plugins
# myst-parser
markupsafe==2.1.5
markupsafe==3.0.2
# via jinja2
marshmallow==3.20.1
# via -r requirements/raw/bench.txt
Expand All @@ -114,13 +112,13 @@ matplotlib==3.8.2
# via -r requirements/raw/_bench-orchestrate.txt
mccabe==0.7.0
# via flake8
mdit-py-plugins==0.4.1
mdit-py-plugins==0.4.2
# via myst-parser
mdurl==0.1.2
# via markdown-it-py
msgspec==0.18.4 ; implementation_name != 'pypy'
# via -r requirements/raw/bench.txt
mypy==1.11.1
mypy==1.13.0
# via -r requirements/raw/lint.txt
mypy-extensions==1.0.0
# via mypy
Expand All @@ -132,7 +130,9 @@ numpy==1.26.4
# via
# contourpy
# matplotlib
packaging==24.1
orjson==3.10.12
# via mypy
packaging==24.2
# via
# marshmallow
# matplotlib
Expand All @@ -144,58 +144,56 @@ packaging==24.1
# tox-uv
pbr==6.1.0
# via sphinxcontrib-apidoc
phonenumberslite==8.13.26
phonenumberslite==8.13.52
# via -r requirements/raw/test_extra_none.txt
pillow==10.4.0
pillow==11.0.0
# via matplotlib
pip==24.2
pip==24.3.1
# via -r requirements/raw/pre.txt
platformdirs==4.2.2
platformdirs==4.3.6
# via
# tox
# virtualenv
plotly==5.23.0
plotly==5.24.1
# via
# -r requirements/raw/_bench-orchestrate.txt
# -r requirements/raw/doc.txt
pluggy==1.5.0
# via
# pytest
# tox
pre-commit==3.8.0
pre-commit==4.0.1
# via -r requirements/raw/lint.txt
psutil==5.9.5
# via
# -r requirements/raw/bench.txt
# pyperf
pycodestyle==2.12.1
# via flake8
pydantic==2.8.2
pydantic==2.10.3
# via
# -r requirements/raw/bench.txt
# -r requirements/raw/test_extra_new.txt
pydantic-core==2.20.1
pydantic-core==2.27.1
# via pydantic
pyflakes==3.2.0
# via flake8
pygments==2.18.0
# via
# furo
# sphinx
pyparsing==3.1.4
pyparsing==3.2.0
# via matplotlib
pyperf==2.6.1
# via -r requirements/raw/bench.txt
pyproject-api==1.7.1
pyproject-api==1.8.0
# via tox
pytest==7.4.2
pytest==8.3.4
# via
# -r requirements/raw/bench.txt
# -r requirements/raw/test_extra_none.txt
python-dateutil==2.9.0.post0
# via matplotlib
pytz==2024.1
# via dirty-equals
pyyaml==6.0.2
# via
# myst-parser
Expand All @@ -204,15 +202,13 @@ radon==6.0.1
# via -r requirements/raw/lint.txt
requests==2.32.3
# via sphinx
ruff==0.6.2
ruff==0.8.3
# via -r requirements/raw/lint.txt
schematics==2.1.1
# via -r requirements/raw/bench.txt
setuptools==69.5.1
# via
# -r requirements/raw/dev.txt
# incremental
six==1.16.0
setuptools==75.6.0
# via -r requirements/raw/dev.txt
six==1.17.0
# via
# mando
# python-dateutil
Expand All @@ -222,7 +218,7 @@ snowballstemmer==2.2.0
# via sphinx
soupsieve==2.6
# via beautifulsoup4
sphinx==8.0.2
sphinx==8.1.3
# via
# -r requirements/raw/doc.txt
# furo
Expand Down Expand Up @@ -262,17 +258,17 @@ sphinxcontrib-serializinghtml==2.0.0
# via sphinx
sphinxext-opengraph==0.9.1
# via -r requirements/raw/doc.txt
sqlalchemy==2.0.32
sqlalchemy==2.0.36
# via -r requirements/raw/test_extra_new.txt
tenacity==9.0.0
# via plotly
toml==0.10.2
# via vulture
towncrier==23.11.0
towncrier==24.8.0
# via -r requirements/raw/dev.txt
tox==4.18.0
tox==4.23.2
# via tox-uv
tox-uv==1.11.2
tox-uv==1.16.1
# via -r requirements/raw/runner.txt
typing-extensions==4.12.2
# via
Expand All @@ -281,17 +277,17 @@ typing-extensions==4.12.2
# pydantic
# pydantic-core
# sqlalchemy
urllib3==2.2.2
urllib3==2.2.3
# via requests
uv==0.3.2
uv==0.5.9
# via
# -r requirements/raw/pre.txt
# tox-uv
virtualenv==20.26.3
virtualenv==20.28.0
# via
# pre-commit
# tox
vulture==2.10
# via -r requirements/raw/lint.txt
wheel==0.44.0
wheel==0.45.1
# via -r requirements/raw/pre.txt
Loading

0 comments on commit 8742ce8

Please sign in to comment.