Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Ley
synapse
Commits
f33356e8
Unverified
Commit
f33356e8
authored
2 years ago
by
David Robertson
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Use caret (semver bounds) for matrix.org packages (#13082)
parent
3d94d07d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.ci/scripts/test_old_deps.sh
+4
-2
4 additions, 2 deletions
.ci/scripts/test_old_deps.sh
changelog.d/13082.misc
+1
-0
1 addition, 0 deletions
changelog.d/13082.misc
poetry.lock
+1
-1
1 addition, 1 deletion
poetry.lock
pyproject.toml
+3
-3
3 additions, 3 deletions
pyproject.toml
with
9 additions
and
6 deletions
.ci/scripts/test_old_deps.sh
+
4
−
2
View file @
f33356e8
...
...
@@ -27,9 +27,10 @@ export VIRTUALENV_NO_DOWNLOAD=1
# Patch the project definitions in-place:
# - Replace all lower and tilde bounds with exact bounds
# - Make the pyopenssl 17.0, which is the oldest version that works with
# a `cryptography` compiled against OpenSSL 1.1.
# - Replace all caret bounds---but not the one that defines the supported Python version!
# - Delete all lines referring to psycopg2 --- so no testing of postgres support.
# - Use pyopenssl 17.0, which is the oldest version that works with
# a `cryptography` compiled against OpenSSL 1.1.
# - Omit systemd: we're not logging to journal here.
# TODO: also replace caret bounds, see https://python-poetry.org/docs/dependency-specification/#version-constraints
...
...
@@ -40,6 +41,7 @@ export VIRTUALENV_NO_DOWNLOAD=1
sed
-i
\
-e
"s/[~>]=/==/g"
\
-e
'/^python = "^/!s/\^/==/g'
\
-e
"/psycopg2/d"
\
-e
's/pyOpenSSL = "==16.0.0"/pyOpenSSL = "==17.0.0"/'
\
-e
'/systemd/d'
\
...
...
This diff is collapsed.
Click to expand it.
changelog.d/13082.misc
0 → 100644
+
1
−
0
View file @
f33356e8
Pin dependencies maintained by matrix.org to [semantic version](https://semver.org/) bounds.
This diff is collapsed.
Click to expand it.
poetry.lock
+
1
−
1
View file @
f33356e8
...
...
@@ -1563,7 +1563,7 @@ url_preview = ["lxml"]
[
metadata
]
lock-version
=
"1.1"
python-versions
=
"^3.7.1"
content-hash
=
"
73882e279e0
379
4
82
f2fc7414cb71addfd408ca48ad508ff8a02b0cb544762af
"
content-hash
=
"
e96625923122e29b6ea5964
37982
8e321b6cede2b020fc32c6f86c09d86d1ae8
"
[
metadata.files
]
attrs
=
[
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
3
−
3
View file @
f33356e8
...
...
@@ -110,9 +110,9 @@ jsonschema = ">=3.0.0"
frozendict
=
">=1,!
=
2.1
.
2
"
# We require 2.1.0 or higher for type hints. Previous guard was >= 1.1.0
unpaddedbase64
=
">
=
2.1
.
0
"
canonicaljson
=
"
>
=
1.4
.
0
"
canonicaljson
=
"
^
1.4.0"
# we use the type definitions added in signedjson 1.1.
signedjson
=
"
>
=
1.1
.
0
"
signedjson
=
"
^
1.1.0"
# validating SSL certs for IP addresses requires service_identity 18.1.
service-identity
=
">
=
18.1
.
0
"
# Twisted 18.9 introduces some logger improvements that the structured
...
...
@@ -150,7 +150,7 @@ typing-extensions = ">=3.10.0.1"
cryptography
=
">
=
3.4
.
7
"
# ijson 3.1.4 fixes a bug with "." in property names
ijson
=
">
=
3.1
.
4
"
matrix-common
=
"
~
=
1.2
.
1
"
matrix-common
=
"
^
1.2.1"
# We need packaging.requirements.Requirement, added in 16.1.
packaging
=
">
=
16.1
"
# At the time of writing, we only use functions from the version `importlib.metadata`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment