Skip to content

Commit ec2ae63

Browse files
authored
Add Python 3.9 Support (#85)
* Add python 3.9 tests and support
1 parent def3d76 commit ec2ae63

File tree

4 files changed

+61
-1
lines changed

4 files changed

+61
-1
lines changed

.gitlab-ci.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
stages:
2+
- test
3+
4+
.tests_template: &tests_template
5+
before_script:
6+
- pip install tox
7+
stage: test
8+
script:
9+
tox
10+
variables:
11+
FAKE_API_ENDPOINT: "http://apimock:8080/v1"
12+
tags:
13+
- hc-bladerunner
14+
services:
15+
- name: lkdevelopment/hetzner-cloud-api-mock
16+
alias: apimock
17+
18+
19+
20+
python27:
21+
<<: *tests_template
22+
image: python:2.7-alpine
23+
script: tox -e py27
24+
25+
python35:
26+
<<: *tests_template
27+
image: python:3.5-alpine
28+
script: tox -e py35
29+
30+
python36:
31+
<<: *tests_template
32+
image: python:3.6-alpine
33+
script: tox -e py36
34+
35+
python37:
36+
<<: *tests_template
37+
image: python:3.7-alpine
38+
script: tox -e py37
39+
40+
python38:
41+
<<: *tests_template
42+
image: python:3.8-alpine
43+
script: tox -e py38
44+
45+
python39:
46+
<<: *tests_template
47+
image: python:3.9-rc-alpine
48+
script: tox -e py39
49+
50+
test-style:
51+
before_script:
52+
- pip install tox
53+
image: python:3.7-alpine
54+
script: tox -e flake8
55+
tags:
56+
- hc-bladerunner

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ python:
1212
- '3.6'
1313
- '3.7'
1414
- '3.8'
15+
- '3.9-dev'
1516

1617
before_script:
1718
- docker pull lkdevelopment/hetzner-cloud-api-mock

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ History
44

55
master (XXXX-XX-XX)
66
--------------------
7+
78
* Feature: Add support for the optional 'networks' parameter on server creation.
9+
* Feature: Add python 3.9 support
810
* Feature: Add subnet type `cloud`
911

1012
1.6.3 (2020-01-09)

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@
4343
'Programming Language :: Python :: 3.6',
4444
'Programming Language :: Python :: 3.7',
4545
'Programming Language :: Python :: 3.8',
46+
'Programming Language :: Python :: 3.9',
4647
],
47-
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <3.9',
48+
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <3.10',
4849
description="Official Hetzner Cloud python library",
4950
install_requires=requirements,
5051
extras_require=extras_require,

0 commit comments

Comments
 (0)