Speed up Python 3.11 CI by upgrading coverage
MODIFY
.coveragerc
.coveragerc
source =
urllib3
-omit =
- *urllib3/packages/*
- *urllib3/contrib/pyopenssl.py
- *urllib3/contrib/securetransport.py
- *urllib3/contrib/_securetransport/*
-
[paths]
source =
src/urllib3
@@ -15,6 +9,11 @@ source =
*\urllib3
[report]
+omit =
+ src/urllib3/contrib/pyopenssl.py
+ src/urllib3/contrib/securetransport.py
+ src/urllib3/contrib/_securetransport/*
+
exclude_lines =
except ModuleNotFoundError:
except ImportError:

MODIFY
.github/workflows/ci.yml
.github/workflows/ci.yml
@@ -57,7 +57,7 @@ jobs:
os: ubuntu-20.04 # CPython 2.7 is not available for ubuntu-22.04
experimental: false
nox-session: unsupported_setup_py
- - python-version: "3.9"
+ - python-version: "3.x"
os: ubuntu-latest
experimental: false
nox-session: test_brotlipy

MODIFY
dev-requirements.txt
dev-requirements.txt
-coverage==6.4
+coverage==7.0.4
tornado==6.2
PySocks==1.7.1
pytest==7.2.0
@@ -6,7 +6,7 @@ pytest-timeout==2.1.0
pytest-freezegun==0.4.2
flaky==3.7.0
trustme==0.9.0
-cryptography==37.0.2
+cryptography==39.0.0
backports.zoneinfo==0.2.1;python_version<"3.9"
towncrier==21.9.0
-pytest-memray==1.3.1;python_version>="3.8" and sys_platform!="win32" and implementation_name=="cpython"
+pytest-memray==1.4.0;python_version>="3.8" and sys_platform!="win32" and implementation_name=="cpython"

Speed up Python 3.11 CI by upgrading coverage