Skip to content

Commit 7411c19

Browse files
committed
Update tests to run on 3.9
Signed-off-by: Roger Aiudi <[email protected]>
1 parent 11edaf3 commit 7411c19

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: ubuntu-latest
3232
strategy:
3333
matrix:
34-
python: ['3.6', '3.7', '3.8']
34+
python: ['3.6', '3.7', '3.8', '3.9']
3535
steps:
3636
- uses: actions/checkout@v1
3737
- name: Run Tests

Dockerfile.test

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Testing environment for AIOHappyBase
2-
FROM dajobe/hbase:latest
2+
FROM aiudirog/hbase:latest
33

44
RUN apt-get update
5-
RUN apt-get install -y 'python3.6' 'python3.7' 'python3.8' 'python3.6-dev' 'python3.7-dev' 'python3.8-dev' python3-pip net-tools git
5+
RUN apt-get install -y software-properties-common
6+
RUN apt-get update
7+
RUN add-apt-repository ppa:deadsnakes/ppa -y
8+
RUN apt-get update
9+
RUN apt-get install -y \
10+
'python3.6' 'python3.7' 'python3.8' 'python3.9' \
11+
'python3.6-dev' 'python3.7-dev' 'python3.8-dev' 'python3.9-dev' \
12+
python3-pip net-tools git

setup.cfg

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ classifiers =
1313
Programming Language :: Python :: 3.6
1414
Programming Language :: Python :: 3.7
1515
Programming Language :: Python :: 3.8
16+
Programming Language :: Python :: 3.9
1617
Topic :: Database
1718
Topic :: Software Development :: Libraries :: Python Modules
1819
keywords =
@@ -59,7 +60,7 @@ filename = *happybase*/**.py
5960
exclude = tests,build,dist,venv,.tox,*.egg*,coverage,doc
6061

6162
[tox:tox]
62-
envlist = py36, py37, py38
63+
envlist = py36, py37, py38, py39
6364

6465
[testenv]
6566
deps =

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
setup(
55
version=versioneer.get_version(),
6-
install_requires=[*filter(None, map(str.strip, open('requirements.txt')))],
76
cmdclass=versioneer.get_cmdclass(),
7+
install_requires=[*filter(None, map(str.strip, open('requirements.txt')))],
88
)

0 commit comments

Comments
 (0)