Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 8ea4191

Browse files
committed
Remove Python 2.7 support. (#5425)
2 parents 84e695f + 09e9a26 commit 8ea4191

File tree

22 files changed

+104
-130
lines changed

22 files changed

+104
-130
lines changed

.buildkite/docker-compose.py27.pg94.yaml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.buildkite/docker-compose.py27.pg95.yaml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.buildkite/pipeline.yml

Lines changed: 3 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ steps:
4848

4949
- command:
5050
- "python -m pip install tox"
51-
- "tox -e py27,codecov"
52-
label: ":python: 2.7 / SQLite"
51+
- "tox -e py35-old,codecov"
52+
label: ":python: 3.5 / SQLite / Old Deps"
5353
env:
5454
TRIAL_FLAGS: "-j 2"
5555
plugins:
5656
- docker#v3.0.1:
57-
image: "python:2.7"
57+
image: "python:3.5"
5858
propagate-environment: true
5959
retry:
6060
automatic:
@@ -114,57 +114,6 @@ steps:
114114
- exit_status: 2
115115
limit: 2
116116

117-
- command:
118-
- "python -m pip install tox"
119-
- "tox -e py27-old,codecov"
120-
label: ":python: 2.7 / SQLite / Old Deps"
121-
env:
122-
TRIAL_FLAGS: "-j 2"
123-
plugins:
124-
- docker#v3.0.1:
125-
image: "python:2.7"
126-
propagate-environment: true
127-
retry:
128-
automatic:
129-
- exit_status: -1
130-
limit: 2
131-
- exit_status: 2
132-
limit: 2
133-
134-
- label: ":python: 2.7 / :postgres: 9.4"
135-
env:
136-
TRIAL_FLAGS: "-j 4"
137-
command:
138-
- "bash -c 'python -m pip install tox && python -m tox -e py27-postgres,codecov'"
139-
plugins:
140-
- docker-compose#v2.1.0:
141-
run: testenv
142-
config:
143-
- .buildkite/docker-compose.py27.pg94.yaml
144-
retry:
145-
automatic:
146-
- exit_status: -1
147-
limit: 2
148-
- exit_status: 2
149-
limit: 2
150-
151-
- label: ":python: 2.7 / :postgres: 9.5"
152-
env:
153-
TRIAL_FLAGS: "-j 4"
154-
command:
155-
- "bash -c 'python -m pip install tox && python -m tox -e py27-postgres,codecov'"
156-
plugins:
157-
- docker-compose#v2.1.0:
158-
run: testenv
159-
config:
160-
- .buildkite/docker-compose.py27.pg95.yaml
161-
retry:
162-
automatic:
163-
- exit_status: -1
164-
limit: 2
165-
- exit_status: 2
166-
limit: 2
167-
168117
- label: ":python: 3.5 / :postgres: 9.4"
169118
env:
170119
TRIAL_FLAGS: "-j 4"

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 2
22
jobs:
3-
sytestpy2postgresmerged:
3+
sytestpy3postgresmerged:
44
docker:
55
- image: matrixdotorg/sytest-synapse:dinsic
66
working_directory: /src
@@ -18,7 +18,7 @@ workflows:
1818
version: 2
1919
build:
2020
jobs:
21-
- sytestpy2postgresmerged:
21+
- sytestpy3postgresmerged:
2222
filters:
2323
branches:
2424
ignore: /develop|master|release-.*/

.github/FUNDING.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# One username per supported platform and one custom link
2+
patreon: matrixdotorg
3+
liberapay: matrixdotorg
4+
custom: https://paypal.me/matrixdotorg

changelog.d/5252.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add monthly active users to phonehome stats.

changelog.d/5325.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix a bug where running synapse_port_db would cause the account validity feature to fail because it didn't set the type of the email_sent column to boolean.

changelog.d/5382.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add a sponsor button to the repo.

changelog.d/5386.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add a sponsor button to the repo.

changelog.d/5387.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Warn about disabling email-based password resets when a reset occurs, and remove warning when someone attempts a phone-based reset.

0 commit comments

Comments
 (0)