mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 08:44:23 -04:00
upgrade python again to 3.13.2
This commit is contained in:
4
.github/actions/setup-project/action.yml
vendored
4
.github/actions/setup-project/action.yml
vendored
@@ -9,10 +9,10 @@ runs:
|
|||||||
sudo apt-get update \
|
sudo apt-get update \
|
||||||
&& sudo apt-get install -y --no-install-recommends \
|
&& sudo apt-get install -y --no-install-recommends \
|
||||||
libcurl4-openssl-dev
|
libcurl4-openssl-dev
|
||||||
- name: Set up Python 3.12.2
|
- name: Set up Python 3.13.2
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.12.2"
|
python-version: "3.13.2"
|
||||||
- name: Install poetry
|
- name: Install poetry
|
||||||
shell: bash
|
shell: bash
|
||||||
run: pip install poetry==2.1.3
|
run: pip install poetry==2.1.3
|
||||||
|
|||||||
16
README.md
16
README.md
@@ -186,12 +186,12 @@ session to make the changes take effect.
|
|||||||
Now we're ready to install the Python version we need with `pyenv`, like so:
|
Now we're ready to install the Python version we need with `pyenv`, like so:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
pyenv install 3.12
|
pyenv install 3.13
|
||||||
```
|
```
|
||||||
|
|
||||||
This will install the latest version of Python 3.12.
|
This will install the latest version of Python 3.13.
|
||||||
|
|
||||||
_NOTE: This project currently runs on Python 3.12.x._
|
_NOTE: This project currently runs on Python 3.13.x._
|
||||||
|
|
||||||
#### [API Step] Python Dependency Installation
|
#### [API Step] Python Dependency Installation
|
||||||
|
|
||||||
@@ -243,12 +243,12 @@ git clone git@github.com:GSA/notifications-admin.git
|
|||||||
|
|
||||||
Now go into the project directory (`notifications-admin` by default), create a
|
Now go into the project directory (`notifications-admin` by default), create a
|
||||||
virtual environment, and set the local Python version to point to the virtual
|
virtual environment, and set the local Python version to point to the virtual
|
||||||
environment (assumes version Python `3.12.2` is what is installed on your
|
environment (assumes version Python `3.13.2` is what is installed on your
|
||||||
machine):
|
machine):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd notifications-admin
|
cd notifications-admin
|
||||||
pyenv virtualenv 3.12.2 notify-admin
|
pyenv virtualenv 3.13.2 notify-admin
|
||||||
pyenv local notify-admin
|
pyenv local notify-admin
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -281,10 +281,10 @@ If you're upgrading an existing project to a newer version of Python, you can
|
|||||||
follow these steps to get yourself up-to-date.
|
follow these steps to get yourself up-to-date.
|
||||||
|
|
||||||
First, use `pyenv` to install the newer version of Python you'd like to use;
|
First, use `pyenv` to install the newer version of Python you'd like to use;
|
||||||
we'll use `3.12` in our example here since we recently upgraded to this version:
|
we'll use `3.13` in our example here since we recently upgraded to this version:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
pyenv install 3.12
|
pyenv install 3.13
|
||||||
```
|
```
|
||||||
|
|
||||||
Next, delete the virtual environment you previously had set up. If you followed
|
Next, delete the virtual environment you previously had set up. If you followed
|
||||||
@@ -299,7 +299,7 @@ environment with the newer version of Python you just installed:
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd notifications-admin
|
cd notifications-admin
|
||||||
pyenv virtualenv 3.12.2 notify-admin
|
pyenv virtualenv 3.13.2 notify-admin
|
||||||
pyenv local notify-admin
|
pyenv local notify-admin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
8
poetry.lock
generated
8
poetry.lock
generated
@@ -27,7 +27,6 @@ files = [
|
|||||||
[package.dependencies]
|
[package.dependencies]
|
||||||
idna = ">=2.8"
|
idna = ">=2.8"
|
||||||
sniffio = ">=1.1"
|
sniffio = ">=1.1"
|
||||||
typing_extensions = {version = ">=4.5", markers = "python_version < \"3.13\""}
|
|
||||||
|
|
||||||
[package.extras]
|
[package.extras]
|
||||||
doc = ["Sphinx (>=8.2,<9.0)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx_rtd_theme"]
|
doc = ["Sphinx (>=8.2,<9.0)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx_rtd_theme"]
|
||||||
@@ -949,9 +948,6 @@ files = [
|
|||||||
{file = "exceptiongroup-1.3.0.tar.gz", hash = "sha256:b241f5885f560bc56a59ee63ca4c6a8bfa46ae4ad651af316d4e81817bb9fd88"},
|
{file = "exceptiongroup-1.3.0.tar.gz", hash = "sha256:b241f5885f560bc56a59ee63ca4c6a8bfa46ae4ad651af316d4e81817bb9fd88"},
|
||||||
]
|
]
|
||||||
|
|
||||||
[package.dependencies]
|
|
||||||
typing-extensions = {version = ">=4.6.0", markers = "python_version < \"3.13\""}
|
|
||||||
|
|
||||||
[package.extras]
|
[package.extras]
|
||||||
test = ["pytest (>=6)"]
|
test = ["pytest (>=6)"]
|
||||||
|
|
||||||
@@ -4128,5 +4124,5 @@ cffi = ["cffi (>=1.11)"]
|
|||||||
|
|
||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.1"
|
lock-version = "2.1"
|
||||||
python-versions = "^3.12.2"
|
python-versions = "^3.13.2"
|
||||||
content-hash = "acc8897a5d775035e535d20a130a984636c954bb4a597f4f479dccd1bf172ba2"
|
content-hash = "ab3d05d57794f6b989981791e00c0bb03bbb18d161f5f9a517b46dee64c5ea2a"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ package-mode = false
|
|||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
axe-core-python = "^0.1.0"
|
axe-core-python = "^0.1.0"
|
||||||
python = "^3.12.2"
|
python = "^3.13.2"
|
||||||
ago = "~=0.1.0"
|
ago = "~=0.1.0"
|
||||||
beautifulsoup4 = "^4.13.3"
|
beautifulsoup4 = "^4.13.3"
|
||||||
blinker = "~=1.8"
|
blinker = "~=1.8"
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
python-3.12.x
|
python-3.13.x
|
||||||
|
|||||||
Reference in New Issue
Block a user