Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOTOR-1284 Fix Cryptography Install on PyPy3.8 #270

Merged
merged 4 commits into from
Mar 22, 2024
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ filterwarnings = [
"ignore: The fetch_next property is deprecated:DeprecationWarning",
"ignore:The next_object method is deprecated:DeprecationWarning",
"ignore:unclosed <ssl.SSLSocket:ResourceWarning",
"ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning",
"ignore:datetime.datetime.utcnow:DeprecationWarning",
"ignore:datetime.datetime.utc:DeprecationWarning",
# From older versions aiohttp.
"ignore:\"@coroutine\" decorator is deprecated since Python 3.8:DeprecationWarning",
"ignore:The loop argument is deprecated since Python 3.8:DeprecationWarning"
]

[tool.ruff]
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ labels = # Use labels and -m instead of -e so that tox -m <label> fails instantl
typecheck-mypy = typecheck-mypy

[testenv]
install_command =
python -I -m pip install --prefer-binary {opts} {packages}
passenv =
DB_IP
DB_PORT
Expand Down Expand Up @@ -101,7 +103,7 @@ extras =
test
commands =
pip install git+https://github.com/mongodb/mongo-python-driver.git@master
pip install -q --pre pymongocrypt
pip install -q --pre --prefer-binary pymongocrypt
python --version
python -c "import pymongo; print('PyMongo %s' % (pymongo.version,))"
python -m pytest -v {posargs}
Expand Down