Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

[Issue #184] Pin Python version to 3.12 + dependency updates #185

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

chouinar
Copy link
Collaborator

@chouinar chouinar commented Aug 28, 2024

Summary

Fixes #184

Time to review: 5 mins

Changes proposed

Pin the Python version and document details on how to upgrade

Upgraded packages as well while I was tinkering with this

Context for reviewers

This is mirroring changes from the template repo: navapbc/template-application-flask#235

Python releases new minor versions (3.12, 3.13, etc.) every year in October. It usually takes a few weeks for all of our dependencies and tooling to also be upgraded to the latest version, causing our builds to break. There isn't much we can do except wait a few weeks and then do the upgrade (assuming no breaking changes in features we use).

However, we had some of our dependencies pinned to the major version (Python 3) so it has broken the past few years until it started working again when the dependencies got fixed. This is just getting ahead of that and making sure the upgrade to Python 3.13 doesn't cause any problems.

Additional information

This change is largely documentation as the Python version used in the dockerfile + pyproject.toml already would have resolved to Python 3.12, this just makes it so it won't auto-upgrade to 3.13 when that releases in October.

The package updates are all very minor - we updated them not too long ago, mostly just cleaning up a few things like the types-requests issue that is no longer present.

@github-actions github-actions bot added documentation Improvements or additions to documentation api labels Aug 28, 2024
@chouinar chouinar merged commit 2b23dd4 into main Aug 28, 2024
8 checks passed
@chouinar chouinar deleted the chouinar/184-pin-python-version branch August 28, 2024 20:13
acouch pushed a commit that referenced this pull request Sep 18, 2024
Fixes HHS#2035

Pin the Python version and document details on how to upgrade

Upgraded packages as well while I was tinkering with this

This is mirroring changes from the template repo:
navapbc/template-application-flask#235

Python releases new minor versions (3.12, 3.13, etc.) every year in
October. It usually takes a few weeks for all of our dependencies and
tooling to also be upgraded to the latest version, causing our builds to
break. There isn't much we can do except wait a few weeks and then do
the upgrade (assuming no breaking changes in features we use).

However, we had some of our dependencies pinned to the major version
(Python 3) so it has broken the past few years until it started working
again when the dependencies got fixed. This is just getting ahead of
that and making sure the upgrade to Python 3.13 doesn't cause any
problems.

This change is largely documentation as the Python version used in the
dockerfile + pyproject.toml already would have resolved to Python 3.12,
this just makes it so it won't auto-upgrade to 3.13 when that releases
in October.

The package updates are all very minor - we updated them not too long
ago, mostly just cleaning up a few things like the types-requests issue
that is no longer present.
acouch pushed a commit that referenced this pull request Sep 18, 2024
Fixes HHS#2035

Pin the Python version and document details on how to upgrade

Upgraded packages as well while I was tinkering with this

This is mirroring changes from the template repo:
navapbc/template-application-flask#235

Python releases new minor versions (3.12, 3.13, etc.) every year in
October. It usually takes a few weeks for all of our dependencies and
tooling to also be upgraded to the latest version, causing our builds to
break. There isn't much we can do except wait a few weeks and then do
the upgrade (assuming no breaking changes in features we use).

However, we had some of our dependencies pinned to the major version
(Python 3) so it has broken the past few years until it started working
again when the dependencies got fixed. This is just getting ahead of
that and making sure the upgrade to Python 3.13 doesn't cause any
problems.

This change is largely documentation as the Python version used in the
dockerfile + pyproject.toml already would have resolved to Python 3.12,
this just makes it so it won't auto-upgrade to 3.13 when that releases
in October.

The package updates are all very minor - we updated them not too long
ago, mostly just cleaning up a few things like the types-requests issue
that is no longer present.
acouch pushed a commit to HHS/simpler-grants-gov that referenced this pull request Sep 18, 2024
…c#185)

Fixes #2035

Pin the Python version and document details on how to upgrade

Upgraded packages as well while I was tinkering with this

This is mirroring changes from the template repo:
navapbc/template-application-flask#235

Python releases new minor versions (3.12, 3.13, etc.) every year in
October. It usually takes a few weeks for all of our dependencies and
tooling to also be upgraded to the latest version, causing our builds to
break. There isn't much we can do except wait a few weeks and then do
the upgrade (assuming no breaking changes in features we use).

However, we had some of our dependencies pinned to the major version
(Python 3) so it has broken the past few years until it started working
again when the dependencies got fixed. This is just getting ahead of
that and making sure the upgrade to Python 3.13 doesn't cause any
problems.

This change is largely documentation as the Python version used in the
dockerfile + pyproject.toml already would have resolved to Python 3.12,
this just makes it so it won't auto-upgrade to 3.13 when that releases
in October.

The package updates are all very minor - we updated them not too long
ago, mostly just cleaning up a few things like the types-requests issue
that is no longer present.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task]: Pin version of Python used to a specific minor version
2 participants