Skip to content
Snippets Groups Projects
Commit e9beaf25 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

Merge branch 'f-remove-py38-pipeline' into 'dev'

Remove support for Python 3.8

See merge request !171
parents 13fb1f59 8d1bd217
No related branches found
No related tags found
2 merge requests!175BUG: Request responses without the "Set-Cookie" header no longer overwrite the...,!171Remove support for Python 3.8
Pipeline #59771 passed
......@@ -61,16 +61,6 @@ mypy:
- make mypy
# run unit tests
unittest_py3.8:
tags: [ docker ]
stage: test
needs: [ ]
image: python:3.8
script: &python_test_script
# Python docker has problems with tox and pip so use plain pytest here
- touch ~/.pylinkahead.ini
- pip install .[test]
- python -m pytest unittests
# This needs to be changed once Python 3.9 isn't the standard Python in Debian
# anymore.
......@@ -90,7 +80,11 @@ unittest_py3.10:
stage: test
needs: [ ]
image: python:3.10
script: *python_test_script
script: &python_test_script
# Python docker has problems with tox and pip so use plain pytest here
- touch ~/.pylinkahead.ini
- pip install .[test]
- python -m pytest unittests
unittest_py3.11:
tags: [ docker ]
......@@ -158,7 +152,7 @@ build-testenv:
pages_prepare: &pages_prepare
tags: [ cached-dind ]
stage: deploy
needs: [ code_style, pylint, unittest_py3.8, unittest_py3.9, unittest_py3.10 ]
needs: [ code_style, pylint, unittest_py3.9, unittest_py3.10 ]
only:
refs:
- /^release-.*$/i
......
......@@ -20,6 +20,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed ###
* Support for Python 3.8
### Fixed ###
* [#73](https://gitlab.com/linkahead/linkahead-pylib/-/issues/73)
......
* caosdb-server >= 0.12.0
* Python >= 3.8
* Python >= 3.9
* pip >= 20.0.2
Any other dependencies are defined in the setup.py and are being installed via pip
......@@ -4,7 +4,7 @@
### How to install ###
First ensure that python with at least version 3.8 is installed. Should this not be
First ensure that python with at least version 3.9 is installed. Should this not be
the case, you can use the [Installing python](#installing-python-) guide for your OS.
#### Generic installation ####
......@@ -39,7 +39,7 @@ entries `install_requires` and `extras_require`.
#### Linux ####
Make sure that Python (at least version 3.8) and pip is installed, using your system tools and
Make sure that Python (at least version 3.9) and pip is installed, using your system tools and
documentation.
Then open a terminal and continue in the [Generic installation](#generic-installation) section.
......
......@@ -179,7 +179,7 @@ def setup_package():
"Topic :: Scientific/Engineering :: Information Analysis",
],
packages=find_packages('src'),
python_requires='>=3.8',
python_requires='>=3.9',
package_dir={'': 'src'},
install_requires=['lxml>=4.6.3',
"requests[socks]>=2.26",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment