Skip to content

Commit 62d1a98

Browse files
committed
Version updates
1 parent 09389cb commit 62d1a98

File tree

6 files changed

+19
-18
lines changed

6 files changed

+19
-18
lines changed

.travis.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
language: python
22
python:
3-
- "2.7"
4-
- "3.5"
53
- "3.6"
64
- "3.7"
75
- "3.8"
6+
- "3.9"
87
- "pypy3"
98
- "nightly"
109
install:
@@ -14,11 +13,6 @@ script:
1413
matrix:
1514
allow_failures:
1615
- python: "nightly"
17-
include:
18-
- python: "2.7"
19-
dist: trusty
20-
- python: "3.4"
21-
dist: xenial
2216

2317
dist: bionic
2418

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,12 @@ To test against all supported python versions, run:
256256
tox
257257
```
258258

259+
To check for possible vulnerabilities in python packages, run:
260+
261+
```python
262+
safety check
263+
```
264+
259265
The project also supplies a small test suite to test against the live API at `test/live_test.py`. This suite is NOT run with `py.test` as it will permanently remove all resources related to an account. It should only be run with a throwaway dev-only account when preparing for a new release. It is not shipped with PyPI releases. See source code on how to run the live tests.
260266

261267
## Bugs, Issues, Problems, Ideas

requirements-dev.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
pytest>=2.9.2,<4.1
2-
attrs<19.2
3-
py>=1.4.26
4-
mock>=1.0.1
1+
pytest==4.0.2
2+
attrs==19.1.0
3+
py==1.9.0
4+
mock==4.0.2
55
responses==0.3.0
6+
safety==1.9.0
67

78
# flake8
8-
flake8>=2.6.2
9-
flake8-docstrings>=0.2.8
10-
hacking>=0.11.0
9+
flake8==3.8.4
10+
flake8-docstrings==1.5.0
11+
hacking==3.2.0

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
urllib3==1.25.9
2-
requests>=2.6.0
3-
six>=1.9.0
2+
requests==2.24.0
3+
six==1.15.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def get_version(rel_path):
3737
packages=['upcloud_api', 'upcloud_api.cloud_manager'],
3838
download_url='https://github.com/UpCloudLtd/upcloud-python-api/archive/%s.tar.gz' % version,
3939
license='MIT',
40-
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
40+
python_requires='>3.5',
4141
install_requires=[
4242
'requests>=2.6.0',
4343
'six>=1.9.0'

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py27, py34, py35, py36, py37, py38, pypy3
7+
envlist = py36, py37, py38, py39, pypy3
88
skip_missing_interpreters = True
99

1010
[testenv]

0 commit comments

Comments
 (0)