-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Python dependencies #593
Merged
mabuelhagag
merged 90 commits into
ascoderu:master
from
mabuelhagag:hotfix/upgrade_python_deps
Aug 9, 2022
Merged
Changes from 89 commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
02b0c9e
upgrade requirements.txt
mabuelhagag cf73e48
upgrade requirements-dev.txt
mabuelhagag 6b29f9a
upgrade requirements-webapp.txt
mabuelhagag fae97f6
refactored pyzmail36 requirement to pass setup-tools build
mabuelhagag 01057cf
refactored code to fix dependencies upgrading errors
mabuelhagag d16f673
added fasteners requirement for apache-libcloud
mabuelhagag ddc7747
upgrade SQLAlchemy
mabuelhagag 4cdf77f
moved Flask app initialization to __init__.py to fix circular imports
mabuelhagag 0642b1c
copy manage.py code to flask CLI
mabuelhagag 3b535df
temporarily un-ignore built static files
mabuelhagag 0515338
commit built static files
mabuelhagag 974549d
upgraded Flask-Caching
mabuelhagag 74b0632
added upgrade TODO
mabuelhagag 1c9163d
changed createadmin command parameters to required options
mabuelhagag af5d0d5
removed manage.py
mabuelhagag acd1389
removed unused import
mabuelhagag 6efcb0d
isort files
mabuelhagag d453a15
refactored import in test_auth.py
mabuelhagag 08556ff
applied yapf
mabuelhagag ca10d72
upgraded requests dep
mabuelhagag 76090aa
installed requests stubs
mabuelhagag 7bb10b8
fixed createadmin command call
mabuelhagag c434f99
removed autoescape and with_ extensions in Jinja2 as they are already…
mabuelhagag e00b619
install git for pip requirements using git in Dockerfile
mabuelhagag d78cbcd
pin git version
mabuelhagag 67b5781
bump Pillow
mabuelhagag 2418105
bump typing-extensions
mabuelhagag fec16a4
use python-dotenv to load FLASK_APP env var automatically
mabuelhagag 55f8201
Revert "use python-dotenv to load FLASK_APP env var automatically"
mabuelhagag 1480841
bump Python version in Dockerfiles
mabuelhagag ae6ea13
removed refs of manage.py
mabuelhagag bef6dd8
bump down Python version to 3.9 to accommodate for Debian 11 built-in…
mabuelhagag 0c101f6
trigger gh action
mabuelhagag 4bddd4c
try using env variables directly
mabuelhagag d4c46ee
Revert "try using env variables directly"
mabuelhagag 5fe4e3f
print gpg version
mabuelhagag 4bd7e33
Revert "print gpg version"
mabuelhagag 37cd696
upgraded ubuntu dep in ci for test-live
mabuelhagag 32e4f10
Revert "upgraded ubuntu dep in ci for test-live"
mabuelhagag 29de468
changed gh action `pull_request` to `pull_request_target`
mabuelhagag f554415
changed gh action `pull_request` to `pull_request_target`
mabuelhagag 694b654
changed gh action `pull_request` to `pull_request_target`
mabuelhagag ca512fe
trigget gh action
mabuelhagag bab4f24
Revert "changed gh action `pull_request` to `pull_request_target`"
mabuelhagag 78ab425
Revert "changed gh action `pull_request` to `pull_request_target`"
mabuelhagag 2a97cb9
Revert "changed gh action `pull_request` to `pull_request_target`"
mabuelhagag d6eb032
changed gh action `pull_request` to `pull_request_target`
mabuelhagag 500c1b0
trigget gh action
mabuelhagag 59d119e
added types to `pull_request_target` trigger
mabuelhagag e7e4579
added labelled type to `pull_request_target` and check for tag in `te…
mabuelhagag f627b3b
Merge branch 'ascoderu:master' into hotfix/upgrade_python_deps
mabuelhagag cc30ce0
trigget gh action
mabuelhagag 73963ff
upgraded to `actions/checkout@v3`
mabuelhagag e5edcbe
get the PR's head ref
mabuelhagag 26823af
Revert "get the PR's head ref"
mabuelhagag 4f22358
Revert "upgraded to `actions/checkout@v3`"
mabuelhagag b2739a4
revert to pull_request trigger
mabuelhagag 79d34f0
upgraded to `actions/checkout@v3`
mabuelhagag c3ff983
move test-live to separate workflow
mabuelhagag 70346e3
removed `labelled` type
mabuelhagag 4e48f36
renamed workflow name
mabuelhagag c80706e
trigget gh action
mabuelhagag bf875ee
trigget gh action
mabuelhagag 6921d86
Merge branch 'master' into hotfix/upgrade_python_deps
mabuelhagag c5937e7
limit run
mabuelhagag 3972725
limit run
mabuelhagag 52a7955
skip ci
mabuelhagag 9e01837
Merge branch 'master' into hotfix/upgrade_python_deps
mabuelhagag d55dda9
trigget gh action
mabuelhagag 9f0acb1
fix `delete_queues` cli command to use the new ServiceBusAdministrati…
mabuelhagag 35ad438
use un-escaped connection string for query broker as this is already …
mabuelhagag a175990
fixed connection string and queues suffix in `delete_queues` cli comand
mabuelhagag 908da73
called `register_client` synchronously to get conflict state of clien…
mabuelhagag b3f41d7
re-enabled ci
mabuelhagag 6e793ea
replaced `docker-compose` with `docker compose`
mabuelhagag 0877a0e
disabled failing server-side tests
mabuelhagag 513770c
removed server release and deployments from CD
mabuelhagag cdda8ef
used pyzmail36 from PyPi
mabuelhagag 0b06979
removed unused imports
mabuelhagag b30c099
removed `test_queue_broker_servicebus_urlsafe` as Kombu supports non …
mabuelhagag 3994344
Revert "commit built static files"
mabuelhagag e28fd53
Revert "temporarily un-ignore built static files"
mabuelhagag e89817b
upgraded `requirements-dev.txt`
mabuelhagag 6b587b1
upgraded `requiremets-webapp.txt`
mabuelhagag 587f911
upgraded `requirements.txt`
mabuelhagag 7638c4c
removed `typing` package as it's a backport for Python <3.5
mabuelhagag d221539
removed redundant conditional in `ci.yml`
mabuelhagag 5d80264
removed installation of git as pyzmail36 package is now published
mabuelhagag f3359ea
unapplied yapf
mabuelhagag 4890699
Revert "unapplied yapf"
mabuelhagag File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request_target: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
[python: **.py] | ||
[jinja2: **/templates/**.html] | ||
extensions=jinja2.ext.autoescape,jinja2.ext.with_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ARG PYTHON_VERSION=3.7 | ||
ARG PYTHON_VERSION=3.9 | ||
FROM python:${PYTHON_VERSION} AS builder | ||
|
||
RUN apt-get update \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It’s dangerous to delete these tests for a change that should be a no-op (upgrading versions). Maybe there’s too many changes in one go bundled here and there’s an actual semantic change that sneaked in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I strongly agree with you and I intend to investigate those errors at the earliest chance possible.
However, as we're focused on making the client work now, I will be skipping the server deployment at this PR.
At a later stage when I work on the server, we should review the failures and get them back on.