Skip to content

Commit

Permalink
Update to latest versions of libraries and patch up some changes need…
Browse files Browse the repository at this point in the history
…ed for the code.
  • Loading branch information
mikeckennedy committed Aug 28, 2024
1 parent 1fb22f3 commit d64317a
Show file tree
Hide file tree
Showing 31 changed files with 248 additions and 328 deletions.
20 changes: 8 additions & 12 deletions app/ch04_first_site/first_site_final/first_site/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile requirements.piptools
#
blinker==1.7.0
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.piptools --output-file requirements.txt
blinker==1.8.2
# via flask
click==8.1.7
# via flask
flask==3.0.0
flask==3.0.3
# via -r requirements.piptools
itsdangerous==2.1.2
itsdangerous==2.2.0
# via flask
jinja2==3.1.2
jinja2==3.1.4
# via flask
markupsafe==2.1.3
markupsafe==2.1.5
# via
# jinja2
# werkzeug
werkzeug==3.0.1
werkzeug==3.0.4
# via flask
20 changes: 8 additions & 12 deletions app/ch05_jinja_templates/final/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile requirements.piptools
#
blinker==1.7.0
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.piptools --output-file requirements.txt
blinker==1.8.2
# via flask
click==8.1.7
# via flask
flask==3.0.0
flask==3.0.3
# via -r requirements.piptools
itsdangerous==2.1.2
itsdangerous==2.2.0
# via flask
jinja2==3.1.2
jinja2==3.1.4
# via flask
markupsafe==2.1.3
markupsafe==2.1.5
# via
# jinja2
# werkzeug
werkzeug==3.0.1
werkzeug==3.0.4
# via flask
20 changes: 8 additions & 12 deletions app/ch06_routing/final/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile requirements.piptools
#
blinker==1.7.0
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.piptools --output-file requirements.txt
blinker==1.8.2
# via flask
click==8.1.7
# via flask
flask==3.0.0
flask==3.0.3
# via -r requirements.piptools
itsdangerous==2.1.2
itsdangerous==2.2.0
# via flask
jinja2==3.1.2
jinja2==3.1.4
# via flask
markupsafe==2.1.3
markupsafe==2.1.5
# via
# jinja2
# werkzeug
werkzeug==3.0.1
werkzeug==3.0.4
# via flask
20 changes: 8 additions & 12 deletions app/ch06_routing/starter/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile requirements.piptools
#
blinker==1.7.0
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.piptools --output-file requirements.txt
blinker==1.8.2
# via flask
click==8.1.7
# via flask
flask==3.0.0
flask==3.0.3
# via -r requirements.piptools
itsdangerous==2.1.2
itsdangerous==2.2.0
# via flask
jinja2==3.1.2
jinja2==3.1.4
# via flask
markupsafe==2.1.3
markupsafe==2.1.5
# via
# jinja2
# werkzeug
werkzeug==3.0.1
werkzeug==3.0.4
# via flask
20 changes: 8 additions & 12 deletions app/ch08_adding_our_design/final/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile requirements.piptools
#
blinker==1.7.0
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.piptools --output-file requirements.txt
blinker==1.8.2
# via flask
click==8.1.7
# via flask
flask==3.0.0
flask==3.0.3
# via -r requirements.piptools
itsdangerous==2.1.2
itsdangerous==2.2.0
# via flask
jinja2==3.1.2
jinja2==3.1.4
# via flask
markupsafe==2.1.3
markupsafe==2.1.5
# via
# jinja2
# werkzeug
werkzeug==3.0.1
werkzeug==3.0.4
# via flask
20 changes: 8 additions & 12 deletions app/ch08_adding_our_design/starter/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile requirements.piptools
#
blinker==1.7.0
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.piptools --output-file requirements.txt
blinker==1.8.2
# via flask
click==8.1.7
# via flask
flask==3.0.0
flask==3.0.3
# via -r requirements.piptools
itsdangerous==2.1.2
itsdangerous==2.2.0
# via flask
jinja2==3.1.2
jinja2==3.1.4
# via flask
markupsafe==2.1.3
markupsafe==2.1.5
# via
# jinja2
# werkzeug
werkzeug==3.0.1
werkzeug==3.0.4
# via flask
24 changes: 10 additions & 14 deletions app/ch09_sqlalchemy/final/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile requirements.piptools
#
blinker==1.7.0
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.piptools --output-file requirements.txt
blinker==1.8.2
# via flask
click==8.1.7
# via flask
flask==3.0.0
flask==3.0.3
# via -r requirements.piptools
itsdangerous==2.1.2
itsdangerous==2.2.0
# via flask
jinja2==3.1.2
jinja2==3.1.4
# via flask
markupsafe==2.1.3
markupsafe==2.1.5
# via
# jinja2
# werkzeug
sqlalchemy==2.0.23
sqlalchemy==2.0.32
# via -r requirements.piptools
typing-extensions==4.9.0
typing-extensions==4.12.2
# via sqlalchemy
werkzeug==3.0.1
werkzeug==3.0.4
# via flask
20 changes: 8 additions & 12 deletions app/ch09_sqlalchemy/starter/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile requirements.piptools
#
blinker==1.7.0
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.piptools --output-file requirements.txt
blinker==1.8.2
# via flask
click==8.1.7
# via flask
flask==3.0.0
flask==3.0.3
# via -r requirements.piptools
itsdangerous==2.1.2
itsdangerous==2.2.0
# via flask
jinja2==3.1.2
jinja2==3.1.4
# via flask
markupsafe==2.1.3
markupsafe==2.1.5
# via
# jinja2
# werkzeug
werkzeug==3.0.1
werkzeug==3.0.4
# via flask
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def package_details(package_name: str):
is_latest = True

if package.releases:
latest_release = package.releases[0]
latest_release = package.releases
latest_version = latest_release.version_text

return {
Expand Down
30 changes: 13 additions & 17 deletions app/ch10_using_sqlachemy/final/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,36 +1,32 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile requirements.piptools
#
blinker==1.7.0
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.piptools --output-file requirements.txt
blinker==1.8.2
# via flask
click==8.1.7
# via flask
flask==3.0.0
flask==3.0.3
# via -r requirements.piptools
itsdangerous==2.1.2
itsdangerous==2.2.0
# via flask
jinja2==3.1.2
jinja2==3.1.4
# via flask
markupsafe==2.1.3
markupsafe==2.1.5
# via
# jinja2
# werkzeug
progressbar2==4.2.0
progressbar2==4.4.2
# via -r requirements.piptools
python-dateutil==2.8.2
python-dateutil==2.9.0.post0
# via -r requirements.piptools
python-utils==3.8.1
python-utils==3.8.2
# via progressbar2
six==1.16.0
# via python-dateutil
sqlalchemy==2.0.23
sqlalchemy==2.0.32
# via -r requirements.piptools
typing-extensions==4.9.0
typing-extensions==4.12.2
# via
# python-utils
# sqlalchemy
werkzeug==3.0.1
werkzeug==3.0.4
# via flask
24 changes: 10 additions & 14 deletions app/ch10_using_sqlachemy/starter/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile requirements.piptools
#
blinker==1.7.0
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.piptools --output-file requirements.txt
blinker==1.8.2
# via flask
click==8.1.7
# via flask
flask==3.0.0
flask==3.0.3
# via -r requirements.piptools
itsdangerous==2.1.2
itsdangerous==2.2.0
# via flask
jinja2==3.1.2
jinja2==3.1.4
# via flask
markupsafe==2.1.3
markupsafe==2.1.5
# via
# jinja2
# werkzeug
sqlalchemy==2.0.23
sqlalchemy==2.0.32
# via -r requirements.piptools
typing-extensions==4.9.0
typing-extensions==4.12.2
# via sqlalchemy
werkzeug==3.0.1
werkzeug==3.0.4
# via flask
2 changes: 1 addition & 1 deletion app/ch11_migrations/final/pypi_org/views/package_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def package_details(package_name: str):
is_latest = True

if package.releases:
latest_release = package.releases[0]
latest_release = package.releases
latest_version = latest_release.version_text

return {
Expand Down
Loading

0 comments on commit d64317a

Please sign in to comment.