Commit c0dd2a9
authored
Upgrade Python dependencies (#593)
- Python version upgraded in Dockerfiles
- Upgraded requirements
- Moved management CLI commands from `manage.py` that uses click to `actions.py` that uses [Flask's CLI custom commands](https://flask.palletsprojects.com/en/2.2.x/cli/#custom-commands) as [flask-scripts is now deprecated](https://github.com/smurfix/flask-script#deprecated).
- Moved `create_app()` to `__init__` to fix cyclical import error
- CI/CD
- Disabled CD of the server.
- Disable some integration tests as they were failing on live testing (to be reviewed later).
- Used `docker compose` command instead of `docker-compose` command as it fails on newer versions of Docker.
- Build Azure Service bus credentials without URL-encode them as it's handled in Kombu. encoding them caused the live test to fail when Celery was trying to connect.
- Running `register_client` celery task asynchronously caused the tests to report false success results. So now it's called synchronously (to be further investigated later)
- Migrated to `ServiceBusAdministrationClient` in `delete_queues` cli command. See [migration guide](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/servicebus/azure-servicebus/migration_guide.md#working-with-administration-client).
- Other changes done in #597
- Removed the usage of `autoescape` and `with_` Jinja extensions as they're now already included in the compiler.1 parent b2d757b commit c0dd2a9
File tree
72 files changed
+327
-205
lines changed- .github/workflows
- docker
- app
- ci
- client
- integtest
- nginx
- opwen_email_client
- domain/email
- util
- webapp
- forms
- opwen_email_server
- integration
- mailers
- services
- utils
- tests
- opwen_email_client
- domain/email
- util
- webapp
- opwen_email_server
- mailers
- services
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
72 files changed
+327
-205
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | | - | |
10 | | - | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
| 13 | + | |
| 14 | + | |
10 | 15 | | |
| 16 | + | |
| 17 | + | |
11 | 18 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
15 | 29 | | |
16 | 30 | | |
0 commit comments