mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-03 19:42:55 +00:00
Make test runner compatible with Python 3.11 (#2915)
**NB**: this PR doesn't update Python to 3.11; it makes tests compatible with it and fixes a couple of warnings by updating dependencies. - `poetry add asyncpg@latest` to fix `./scripts/pysync` - `poetry add boto3@latest "boto3-stubs[s3]@latest"` to fix ``` DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 ``` - `poetry update certifi` to fix ``` DeprecationWarning: path is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice. ``` - Move `types-toml` from `dep-dependencies` to `dependencies` to keep it aligned with other `types-*` deps
This commit is contained in:
committed by
GitHub
parent
ae53dc3326
commit
aeeb782342
765
poetry.lock
generated
765
poetry.lock
generated
File diff suppressed because one or more lines are too long
@@ -12,13 +12,13 @@ typing-extensions = "^4.1.0"
|
||||
PyJWT = {version = "^2.1.0", extras = ["crypto"]}
|
||||
requests = "^2.26.0"
|
||||
pytest-xdist = "^3.0.2"
|
||||
asyncpg = "^0.24.0"
|
||||
asyncpg = "^0.27.0"
|
||||
aiopg = "^1.3.1"
|
||||
Jinja2 = "^3.0.2"
|
||||
types-requests = "^2.28.5"
|
||||
types-psycopg2 = "^2.9.18"
|
||||
boto3 = "^1.20.40"
|
||||
boto3-stubs = {version = "^1.23.38", extras = ["s3"]}
|
||||
boto3 = "^1.26.16"
|
||||
boto3-stubs = {extras = ["s3"], version = "^1.26.16"}
|
||||
moto = {version = "^3.0.0", extras = ["server"]}
|
||||
backoff = "^1.11.1"
|
||||
pytest-lazy-fixture = "^0.6.3"
|
||||
@@ -31,13 +31,13 @@ pytest-asyncio = "^0.19.0"
|
||||
toml = "^0.10.2"
|
||||
psutil = "^5.9.4"
|
||||
types-psutil = "^5.9.5.4"
|
||||
types-toml = "^0.10.8"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
flake8 = "^5.0.4"
|
||||
mypy = "==0.971"
|
||||
black = "^22.6.0"
|
||||
isort = "^5.10.1"
|
||||
types-toml = "^0.10.8"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
|
||||
Reference in New Issue
Block a user