-
Notifications
You must be signed in to change notification settings - Fork 6
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
Backend version updates #605
Changes from 9 commits
b5a171b
f2e5528
8f3dd99
86fd1ed
363860d
97bc979
3e00d64
f23ff2d
eec2172
74d67e1
e458eaf
ae2dbd4
ba8c264
b712858
682b1d6
d8fe2fd
0f8b271
c75d077
f2df40b
b9fde49
58349c1
659d62f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,20 +4,21 @@ url = "https://pypi.org/simple" | |
verify_ssl = true | ||
|
||
[dev-packages] | ||
black = "==19.10b0" | ||
black = "*" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this still here? And why is it = "*"? (Same for flake8) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I might be mistaken, but I think the CI expects black and flake8 to be installed as part of the Django check, so until we migrate shared-actions to use ruff we should keep these here? I removed the version pins as I wasn't sure why they were necessary There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just updated shared-actions to use ruff, and got rid of black, flake8, and isort |
||
unittest-xml-reporting = ">=3.0.2" | ||
flake8 = "==5.0.3" | ||
flake8 = "*" | ||
flake8-isort = "*" | ||
isort = "*" | ||
flake8-quotes = "*" | ||
django-debug-toolbar = "*" | ||
django-extensions = "*" | ||
ruff = "*" | ||
|
||
[packages] | ||
dj-database-url = "*" | ||
djangorestframework = "*" | ||
sentry-sdk = "*" | ||
django = "<4" | ||
django = ">=5" | ||
django-labs-accounts = "*" | ||
drf-nested-routers = "*" | ||
"bs4" = "*" | ||
|
@@ -34,7 +35,7 @@ qrcode = "*" | |
python-dateutil = "*" | ||
psycopg2 = "*" | ||
django-simple-history = "*" | ||
channels = "<3" | ||
channels = "*" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you just confirm we're not depending on a version pin here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe this was the only part of our code that needed to be updated, but I'll do further checks/tests locally to make sure unpinning the version doesnt cause any issues |
||
django-runtime-options = "*" | ||
social-auth-app-django = "*" | ||
django-redis = "*" | ||
|
@@ -44,7 +45,7 @@ uvloop = {version = "*", sys_platform = "== 'linux'"} | |
uvicorn = {extras = ["standard"], version = "*"} | ||
gunicorn = "*" | ||
httptools = "*" | ||
ics = "==0.7" | ||
ics = "*" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you just confirm we're not depending on a version pin here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was only one apparent issue with imports relating to the version pin which I fixed here |
||
urlextract = "*" | ||
jsonref = "*" | ||
unittest-xml-reporting = "*" | ||
|
@@ -57,6 +58,8 @@ pandas = "*" | |
drf-excel = "*" | ||
numpy = "*" | ||
coverage = "*" | ||
daphne = "*" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you explain why we need There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I think we should be able to get rid of the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I remember why I added the |
||
tatsu = "==5.8.3" | ||
|
||
[requires] | ||
python_version = "3" | ||
python_version = "3.11" |
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [("clubs", "0001_initial")] | ||
|
||
operations = [ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [("clubs", "0010_note_notetag")] | ||
|
||
operations = [ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [("clubs", "0012_testimonial")] | ||
|
||
operations = [ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("clubs", "0013_auto_20200112_2104"), | ||
] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("clubs", "0014_club_youtube"), | ||
] | ||
|
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.
What's this
bookworm
stuff?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.
bookworm
is the latest stable Debian release and it seems that Docker has removed support forbuster
(which is two versions behindbookworm
) with later versions of Python. Also if we don't specify the image it defaults topython3.8-buster
which doesn't make sense now that we're using 3.11