Skip to content

Commit

Permalink
Change more old python version numbers (merge commit)
Browse files Browse the repository at this point in the history
Merge branch 'hotfix/gh-action-pre-commit-python-version' into 'main'
* Change more old python version numbers

See merge request https://gitlab.ci.csc.fi/sds-dev/sd-connect/swift-browser-ui/-/merge_requests/373

Approved-by: Sampsa Penna <[email protected]>
Co-authored-by: Joonatan Mäkinen <[email protected]>
Merged by Joonatan Mäkinen <[email protected]>
  • Loading branch information
Joonatan Mäkinen committed Nov 5, 2024
2 parents f6c6444 + 3a01502 commit deba1ca
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install mypy .[dev]
- uses: pre-commit/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion docs/source/instructions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The program can be installed with pip from the git repository:

.. code-block:: console
# Requires python >= 3.10
# Requires python >= 3.12
git clone [email protected]:CSCfi/swift-browser-ui.git
# Frontend files need to be separately built
cd swift_browser_ui_frontend && npm install -g pnpm@8 && pnpm install && pnpm run build && cd ..
Expand Down
5 changes: 2 additions & 3 deletions docs/source/tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ Tools used in project

Backend
-------
The backend is written in Python, requiring at minimum Python version `3.6.8`,
but is tested with 3.7 and 3.8 as well. Additionally the following libraries are used
in the program development:
The backend is written in Python, requiring at minimum Python version `3.12.0`,
Additionally the following libraries are used in the program development:

* `aiohttp for the API server <https://aiohttp.readthedocs.io/en/stable/>`_
* `uvloop for increasing server performance <https://uvloop.readthedocs.io/>`_
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
]
Expand Down

0 comments on commit deba1ca

Please sign in to comment.