Skip to content

Commit

Permalink
Use Python 3.9 in container image, drop Python 3.6 support
Browse files Browse the repository at this point in the history
Python package python-gitlab supports only Python 3.7+.

Builds the container image with Python 3.9.
  • Loading branch information
hluk committed Jun 21, 2022
1 parent a6ed010 commit 678f123
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ RUN microdnf update \
gcc \
git \
libyaml-devel \
python3-devel \
python3-pip \
python3-setuptools \
python39-devel \
python39-pip \
python39-setuptools \
&& microdnf clean all

# copy workdir for installation of review-rot
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ python setup.py develop
```

## [NEW] Tests
You can use `tox` or `detox` to run the tests against Python 3.6 and 3.7:
You can use `tox` or `detox` to run the tests against Python 3.7+:
```shell
sudo dnf install python-detox
detox
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = clean, py3{6,7,8,9,10}, flake8, black
envlist = clean, py3{7,8,9,10}, flake8, black
basepython = /usr/bin/python3
skip_missing_interpreters = true

Expand Down

0 comments on commit 678f123

Please sign in to comment.