Skip to content

Commit e5d65f8

Browse files
Merge branch 'master' into webb/asgi/double-mount-prefix
2 parents 0b1570b + 7787e6d commit e5d65f8

40 files changed

Lines changed: 6529 additions & 6079 deletions

docs/_static/.gitkeep

Whitespace-only changes.

docs/_static/logo-dark.svg

Lines changed: 42 additions & 0 deletions
Loading

docs/_static/logo-light.svg

Lines changed: 41 additions & 0 deletions
Loading

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@
9595
# documentation.
9696
#
9797
html_theme_options = {
98+
"light_logo": "_static/logo-light.svg",
99+
"dark_logo": "_static/logo-dark.svg",
98100
"github_url": "https://github.com/getsentry/sentry-python",
99101
}
100102

requirements-testing.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
1-
pip
21
pytest>=6.0.0
3-
tomli;python_version<"3.11" # Only needed for pytest on Python < 3.11
42
pytest-cov
3+
dataclasses; python_version < "3.7"
54
pytest-forked
6-
pytest-localserver
7-
pytest-timeout
8-
pytest-watch
9-
jsonschema
105
executing
116
asttokens
127
responses
13-
pysocks
14-
socksio
15-
httpcore[http2]
168
setuptools
17-
Brotli
189
docker

scripts/populate_tox/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@
108108
"djangorestframework",
109109
"pytest-django",
110110
"Werkzeug",
111+
"channels[daphne]",
111112
],
112-
">=2.0": ["channels[daphne]"],
113113
">=2.2,<3.1": ["six"],
114114
">=3.0": ["pytest-asyncio"],
115115
"<3.3": [

scripts/populate_tox/package_dependencies.jsonl

Lines changed: 778 additions & 430 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/populate_tox/populate_tox.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,13 @@ def fetch_package_dependencies(
202202
python_version: ThreadedVersion,
203203
) -> dict:
204204
"""Fetch package dependencies metadata from cache or, failing that, PyPI."""
205+
target = TEST_SUITE_CONFIG[integration]["package"]
205206
constraints = _get_dependency_probe_constraints(
206207
integration, version, python_version
207208
)
208-
constraints_hash = hashlib.md5("\n".join(constraints).encode("utf-8")).hexdigest()
209+
constraints_hash = hashlib.md5(
210+
"\n".join([target, *constraints]).encode("utf-8")
211+
).hexdigest()
209212
package_dependencies = _fetch_package_dependencies_from_cache(
210213
package, version, python_version, constraints_hash
211214
)
@@ -226,7 +229,7 @@ def fetch_package_dependencies(
226229
"-m",
227230
"pip",
228231
"install",
229-
f"{package}=={version}",
232+
f"{target}=={version}",
230233
"--only-binary",
231234
"grpcio-tools", # Prevent source builds that hang CI. grpcio-tools is a build-time dependency pinned by apache-beam.
232235
"--dry-run",

0 commit comments

Comments
 (0)