diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 621d9fc..ecc542a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ ci: autoupdate_schedule: monthly repos: - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.4.0 hooks: - id: pyupgrade args: ["--py37-plus"] @@ -13,7 +13,7 @@ repos: - id: reorder-python-imports args: ["--application-directories", "src:tests"] - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 23.3.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 @@ -24,7 +24,7 @@ repos: - flake8-bugbear - flake8-implicit-str-concat - repo: https://github.com/peterdemin/pip-compile-multi - rev: v2.6.1 + rev: v2.6.3 hooks: - id: pip-compile-multi-verify - repo: https://github.com/pre-commit/pre-commit-hooks diff --git a/README.rst b/README.rst index f3dca9e..96547b4 100644 --- a/README.rst +++ b/README.rst @@ -63,6 +63,4 @@ Links - PyPI Releases: https://pypi.org/project/ItsDangerous/ - Source Code: https://github.com/pallets/itsdangerous/ - Issue Tracker: https://github.com/pallets/itsdangerous/issues/ -- Website: https://palletsprojects.com/p/itsdangerous/ -- Twitter: https://twitter.com/PalletsTeam - Chat: https://discord.gg/pallets diff --git a/docs/conf.py b/docs/conf.py index 30524e5..bfd3a26 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -33,8 +33,6 @@ ProjectLink("PyPI Releases", "https://pypi.org/project/itsdangerous/"), ProjectLink("Source Code", "https://github.com/pallets/itsdangerous/"), ProjectLink("Issue Tracker", "https://github.com/pallets/itsdangerous/issues/"), - ProjectLink("Website", "https://palletsprojects.com/p/itsdangerous/"), - ProjectLink("Twitter", "https://twitter.com/PalletsTeam"), ProjectLink("Chat", "https://discord.gg/pallets"), ] } diff --git a/pyproject.toml b/pyproject.toml index fd20938..a13c503 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,6 @@ description = "Safely pass data to untrusted environments and back." readme = "README.rst" license = {text = "BSD-3-Clause"} maintainers = [{name = "Pallets", email = "contact@palletsprojects.com"}] -authors = [{name = "Armin Ronacher", email = "armin.ronacher@active-4.com"}] classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", @@ -21,7 +20,6 @@ Documentation = "https://itsdangerous.palletsprojects.com/" Changes = "https://itsdangerous.palletsprojects.com/changes/" "Source Code" = "https://github.com/pallets/itsdangerous/" "Issue Tracker" = "https://github.com/pallets/itsdangerous/issues/" -Twitter = "https://twitter.com/PalletsTeam" Chat = "https://discord.gg/pallets" [build-system] @@ -33,7 +31,13 @@ version = {attr = "itsdangerous.__version__"} [tool.pytest.ini_options] testpaths = ["tests"] -filterwarnings = ["error"] +filterwarnings = [ + "error", + # change in Python 3.12 beta causes warning from inside pytest + "ignore:ast:DeprecationWarning", + # dateutil using datetime.utcfromtimestamp + "ignore:datetime.utcfromtimestamp:DeprecationWarning:dateutil.tz.tz", +] [tool.coverage.run] branch = true diff --git a/requirements/build.txt b/requirements/build.txt index a735b3d..98175b8 100644 --- a/requirements/build.txt +++ b/requirements/build.txt @@ -5,13 +5,11 @@ # # pip-compile-multi # -build==0.9.0 +build==0.10.0 # via -r requirements/build.in -packaging==23.0 +packaging==23.1 # via build -pep517==0.13.0 +pyproject-hooks==1.0.0 # via build tomli==2.0.1 - # via - # build - # pep517 + # via build diff --git a/requirements/dev.txt b/requirements/dev.txt index bde64ee..99a6f03 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -8,9 +8,9 @@ -r docs.txt -r tests.txt -r typing.txt -build==0.9.0 +build==0.10.0 # via pip-tools -cachetools==5.2.0 +cachetools==5.3.1 # via tox cfgv==3.3.1 # via pre-commit @@ -24,39 +24,39 @@ colorama==0.4.6 # via tox distlib==0.3.6 # via virtualenv -filelock==3.9.0 +filelock==3.12.0 # via # tox # virtualenv -identify==2.5.11 +identify==2.5.24 # via pre-commit -nodeenv==1.7.0 +nodeenv==1.8.0 # via pre-commit -pep517==0.13.0 - # via build -pip-compile-multi==2.6.1 +pip-compile-multi==2.6.3 # via -r requirements/dev.in -pip-tools==6.12.1 +pip-tools==6.13.0 # via pip-compile-multi -platformdirs==2.6.2 +platformdirs==3.5.1 # via # tox # virtualenv -pre-commit==2.21.0 +pre-commit==3.3.2 # via -r requirements/dev.in -pyproject-api==1.2.1 +pyproject-api==1.5.1 # via tox +pyproject-hooks==1.0.0 + # via build pyyaml==6.0 # via pre-commit -toposort==1.7 +toposort==1.10 # via pip-compile-multi -tox==4.1.0 +tox==4.5.2 # via -r requirements/dev.in -virtualenv==20.17.1 +virtualenv==20.23.0 # via # pre-commit # tox -wheel==0.38.4 +wheel==0.40.0 # via pip-tools # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/docs.txt b/requirements/docs.txt index 6183010..2c36046 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -5,15 +5,15 @@ # # pip-compile-multi # -alabaster==0.7.12 +alabaster==0.7.13 # via sphinx -babel==2.11.0 +babel==2.12.1 # via sphinx -certifi==2022.12.7 +certifi==2023.5.7 # via requests -charset-normalizer==2.1.1 +charset-normalizer==3.1.0 # via requests -docutils==0.19 +docutils==0.20.1 # via sphinx idna==3.4 # via requests @@ -21,23 +21,21 @@ imagesize==1.4.1 # via sphinx jinja2==3.1.2 # via sphinx -markupsafe==2.1.1 +markupsafe==2.1.2 # via jinja2 -packaging==22.0 +packaging==23.1 # via # pallets-sphinx-themes # sphinx -pallets-sphinx-themes==2.0.3 +pallets-sphinx-themes==2.1.0 # via -r requirements/docs.in -pygments==2.13.0 +pygments==2.15.1 # via sphinx -pytz==2022.7 - # via babel -requests==2.28.1 +requests==2.31.0 # via sphinx snowballstemmer==2.2.0 # via sphinx -sphinx==6.0.0 +sphinx==7.0.1 # via # -r requirements/docs.in # pallets-sphinx-themes @@ -45,11 +43,11 @@ sphinx==6.0.0 # sphinxcontrib-log-cabinet sphinx-issues==3.0.1 # via -r requirements/docs.in -sphinxcontrib-applehelp==1.0.2 +sphinxcontrib-applehelp==1.0.4 # via sphinx sphinxcontrib-devhelp==1.0.2 # via sphinx -sphinxcontrib-htmlhelp==2.0.0 +sphinxcontrib-htmlhelp==2.0.1 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx @@ -59,5 +57,5 @@ sphinxcontrib-qthelp==1.0.3 # via sphinx sphinxcontrib-serializinghtml==1.1.5 # via sphinx -urllib3==1.26.13 +urllib3==2.0.2 # via requests diff --git a/requirements/tests.txt b/requirements/tests.txt index b55ddf1..fb31ff3 100644 --- a/requirements/tests.txt +++ b/requirements/tests.txt @@ -5,19 +5,17 @@ # # pip-compile-multi # -attrs==22.2.0 - # via pytest -exceptiongroup==1.1.0 +exceptiongroup==1.1.1 # via pytest freezegun==1.2.2 # via -r requirements/tests.in -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest -packaging==22.0 +packaging==23.1 # via pytest pluggy==1.0.0 # via pytest -pytest==7.2.0 +pytest==7.3.1 # via -r requirements/tests.in python-dateutil==2.8.2 # via freezegun diff --git a/requirements/typing.txt b/requirements/typing.txt index a70f3f5..bc63c0f 100644 --- a/requirements/typing.txt +++ b/requirements/typing.txt @@ -5,11 +5,11 @@ # # pip-compile-multi # -mypy==0.991 +mypy==1.3.0 # via -r requirements/typing.in -mypy-extensions==0.4.3 +mypy-extensions==1.0.0 # via mypy tomli==2.0.1 # via mypy -typing-extensions==4.4.0 +typing-extensions==4.6.2 # via mypy