Skip to content

Commit d64317a

Browse files
committed
Update to latest versions of libraries and patch up some changes needed for the code.
1 parent 1fb22f3 commit d64317a

File tree

31 files changed

+248
-328
lines changed

31 files changed

+248
-328
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
1-
#
2-
# This file is autogenerated by pip-compile with Python 3.12
3-
# by the following command:
4-
#
5-
# pip-compile requirements.piptools
6-
#
7-
blinker==1.7.0
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile requirements.piptools --output-file requirements.txt
3+
blinker==1.8.2
84
# via flask
95
click==8.1.7
106
# via flask
11-
flask==3.0.0
7+
flask==3.0.3
128
# via -r requirements.piptools
13-
itsdangerous==2.1.2
9+
itsdangerous==2.2.0
1410
# via flask
15-
jinja2==3.1.2
11+
jinja2==3.1.4
1612
# via flask
17-
markupsafe==2.1.3
13+
markupsafe==2.1.5
1814
# via
1915
# jinja2
2016
# werkzeug
21-
werkzeug==3.0.1
17+
werkzeug==3.0.4
2218
# via flask

Diff for: app/ch05_jinja_templates/final/requirements.txt

+8-12
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
1-
#
2-
# This file is autogenerated by pip-compile with Python 3.12
3-
# by the following command:
4-
#
5-
# pip-compile requirements.piptools
6-
#
7-
blinker==1.7.0
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile requirements.piptools --output-file requirements.txt
3+
blinker==1.8.2
84
# via flask
95
click==8.1.7
106
# via flask
11-
flask==3.0.0
7+
flask==3.0.3
128
# via -r requirements.piptools
13-
itsdangerous==2.1.2
9+
itsdangerous==2.2.0
1410
# via flask
15-
jinja2==3.1.2
11+
jinja2==3.1.4
1612
# via flask
17-
markupsafe==2.1.3
13+
markupsafe==2.1.5
1814
# via
1915
# jinja2
2016
# werkzeug
21-
werkzeug==3.0.1
17+
werkzeug==3.0.4
2218
# via flask

Diff for: app/ch06_routing/final/requirements.txt

+8-12
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
1-
#
2-
# This file is autogenerated by pip-compile with Python 3.12
3-
# by the following command:
4-
#
5-
# pip-compile requirements.piptools
6-
#
7-
blinker==1.7.0
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile requirements.piptools --output-file requirements.txt
3+
blinker==1.8.2
84
# via flask
95
click==8.1.7
106
# via flask
11-
flask==3.0.0
7+
flask==3.0.3
128
# via -r requirements.piptools
13-
itsdangerous==2.1.2
9+
itsdangerous==2.2.0
1410
# via flask
15-
jinja2==3.1.2
11+
jinja2==3.1.4
1612
# via flask
17-
markupsafe==2.1.3
13+
markupsafe==2.1.5
1814
# via
1915
# jinja2
2016
# werkzeug
21-
werkzeug==3.0.1
17+
werkzeug==3.0.4
2218
# via flask

Diff for: app/ch06_routing/starter/requirements.txt

+8-12
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
1-
#
2-
# This file is autogenerated by pip-compile with Python 3.12
3-
# by the following command:
4-
#
5-
# pip-compile requirements.piptools
6-
#
7-
blinker==1.7.0
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile requirements.piptools --output-file requirements.txt
3+
blinker==1.8.2
84
# via flask
95
click==8.1.7
106
# via flask
11-
flask==3.0.0
7+
flask==3.0.3
128
# via -r requirements.piptools
13-
itsdangerous==2.1.2
9+
itsdangerous==2.2.0
1410
# via flask
15-
jinja2==3.1.2
11+
jinja2==3.1.4
1612
# via flask
17-
markupsafe==2.1.3
13+
markupsafe==2.1.5
1814
# via
1915
# jinja2
2016
# werkzeug
21-
werkzeug==3.0.1
17+
werkzeug==3.0.4
2218
# via flask

Diff for: app/ch08_adding_our_design/final/requirements.txt

+8-12
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
1-
#
2-
# This file is autogenerated by pip-compile with Python 3.12
3-
# by the following command:
4-
#
5-
# pip-compile requirements.piptools
6-
#
7-
blinker==1.7.0
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile requirements.piptools --output-file requirements.txt
3+
blinker==1.8.2
84
# via flask
95
click==8.1.7
106
# via flask
11-
flask==3.0.0
7+
flask==3.0.3
128
# via -r requirements.piptools
13-
itsdangerous==2.1.2
9+
itsdangerous==2.2.0
1410
# via flask
15-
jinja2==3.1.2
11+
jinja2==3.1.4
1612
# via flask
17-
markupsafe==2.1.3
13+
markupsafe==2.1.5
1814
# via
1915
# jinja2
2016
# werkzeug
21-
werkzeug==3.0.1
17+
werkzeug==3.0.4
2218
# via flask

Diff for: app/ch08_adding_our_design/starter/requirements.txt

+8-12
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
1-
#
2-
# This file is autogenerated by pip-compile with Python 3.12
3-
# by the following command:
4-
#
5-
# pip-compile requirements.piptools
6-
#
7-
blinker==1.7.0
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile requirements.piptools --output-file requirements.txt
3+
blinker==1.8.2
84
# via flask
95
click==8.1.7
106
# via flask
11-
flask==3.0.0
7+
flask==3.0.3
128
# via -r requirements.piptools
13-
itsdangerous==2.1.2
9+
itsdangerous==2.2.0
1410
# via flask
15-
jinja2==3.1.2
11+
jinja2==3.1.4
1612
# via flask
17-
markupsafe==2.1.3
13+
markupsafe==2.1.5
1814
# via
1915
# jinja2
2016
# werkzeug
21-
werkzeug==3.0.1
17+
werkzeug==3.0.4
2218
# via flask

Diff for: app/ch09_sqlalchemy/final/requirements.txt

+10-14
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
1-
#
2-
# This file is autogenerated by pip-compile with Python 3.11
3-
# by the following command:
4-
#
5-
# pip-compile requirements.piptools
6-
#
7-
blinker==1.7.0
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile requirements.piptools --output-file requirements.txt
3+
blinker==1.8.2
84
# via flask
95
click==8.1.7
106
# via flask
11-
flask==3.0.0
7+
flask==3.0.3
128
# via -r requirements.piptools
13-
itsdangerous==2.1.2
9+
itsdangerous==2.2.0
1410
# via flask
15-
jinja2==3.1.2
11+
jinja2==3.1.4
1612
# via flask
17-
markupsafe==2.1.3
13+
markupsafe==2.1.5
1814
# via
1915
# jinja2
2016
# werkzeug
21-
sqlalchemy==2.0.23
17+
sqlalchemy==2.0.32
2218
# via -r requirements.piptools
23-
typing-extensions==4.9.0
19+
typing-extensions==4.12.2
2420
# via sqlalchemy
25-
werkzeug==3.0.1
21+
werkzeug==3.0.4
2622
# via flask

Diff for: app/ch09_sqlalchemy/starter/requirements.txt

+8-12
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
1-
#
2-
# This file is autogenerated by pip-compile with Python 3.12
3-
# by the following command:
4-
#
5-
# pip-compile requirements.piptools
6-
#
7-
blinker==1.7.0
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile requirements.piptools --output-file requirements.txt
3+
blinker==1.8.2
84
# via flask
95
click==8.1.7
106
# via flask
11-
flask==3.0.0
7+
flask==3.0.3
128
# via -r requirements.piptools
13-
itsdangerous==2.1.2
9+
itsdangerous==2.2.0
1410
# via flask
15-
jinja2==3.1.2
11+
jinja2==3.1.4
1612
# via flask
17-
markupsafe==2.1.3
13+
markupsafe==2.1.5
1814
# via
1915
# jinja2
2016
# werkzeug
21-
werkzeug==3.0.1
17+
werkzeug==3.0.4
2218
# via flask

Diff for: app/ch10_using_sqlachemy/final/pypi_org/views/package_views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def package_details(package_name: str):
2121
is_latest = True
2222

2323
if package.releases:
24-
latest_release = package.releases[0]
24+
latest_release = package.releases
2525
latest_version = latest_release.version_text
2626

2727
return {

Diff for: app/ch10_using_sqlachemy/final/requirements.txt

+13-17
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,32 @@
1-
#
2-
# This file is autogenerated by pip-compile with Python 3.11
3-
# by the following command:
4-
#
5-
# pip-compile requirements.piptools
6-
#
7-
blinker==1.7.0
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile requirements.piptools --output-file requirements.txt
3+
blinker==1.8.2
84
# via flask
95
click==8.1.7
106
# via flask
11-
flask==3.0.0
7+
flask==3.0.3
128
# via -r requirements.piptools
13-
itsdangerous==2.1.2
9+
itsdangerous==2.2.0
1410
# via flask
15-
jinja2==3.1.2
11+
jinja2==3.1.4
1612
# via flask
17-
markupsafe==2.1.3
13+
markupsafe==2.1.5
1814
# via
1915
# jinja2
2016
# werkzeug
21-
progressbar2==4.2.0
17+
progressbar2==4.4.2
2218
# via -r requirements.piptools
23-
python-dateutil==2.8.2
19+
python-dateutil==2.9.0.post0
2420
# via -r requirements.piptools
25-
python-utils==3.8.1
21+
python-utils==3.8.2
2622
# via progressbar2
2723
six==1.16.0
2824
# via python-dateutil
29-
sqlalchemy==2.0.23
25+
sqlalchemy==2.0.32
3026
# via -r requirements.piptools
31-
typing-extensions==4.9.0
27+
typing-extensions==4.12.2
3228
# via
3329
# python-utils
3430
# sqlalchemy
35-
werkzeug==3.0.1
31+
werkzeug==3.0.4
3632
# via flask

Diff for: app/ch10_using_sqlachemy/starter/requirements.txt

+10-14
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
1-
#
2-
# This file is autogenerated by pip-compile with Python 3.11
3-
# by the following command:
4-
#
5-
# pip-compile requirements.piptools
6-
#
7-
blinker==1.7.0
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile requirements.piptools --output-file requirements.txt
3+
blinker==1.8.2
84
# via flask
95
click==8.1.7
106
# via flask
11-
flask==3.0.0
7+
flask==3.0.3
128
# via -r requirements.piptools
13-
itsdangerous==2.1.2
9+
itsdangerous==2.2.0
1410
# via flask
15-
jinja2==3.1.2
11+
jinja2==3.1.4
1612
# via flask
17-
markupsafe==2.1.3
13+
markupsafe==2.1.5
1814
# via
1915
# jinja2
2016
# werkzeug
21-
sqlalchemy==2.0.23
17+
sqlalchemy==2.0.32
2218
# via -r requirements.piptools
23-
typing-extensions==4.9.0
19+
typing-extensions==4.12.2
2420
# via sqlalchemy
25-
werkzeug==3.0.1
21+
werkzeug==3.0.4
2622
# via flask

Diff for: app/ch11_migrations/final/pypi_org/views/package_views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def package_details(package_name: str):
2121
is_latest = True
2222

2323
if package.releases:
24-
latest_release = package.releases[0]
24+
latest_release = package.releases
2525
latest_version = latest_release.version_text
2626

2727
return {

0 commit comments

Comments
 (0)