Skip to content

Commit bdd3962

Browse files
authored
Merge pull request #77 from TechConsult/version_updates
Version updates
2 parents 626ebe9 + cbf3dc3 commit bdd3962

File tree

6 files changed

+24
-18
lines changed

6 files changed

+24
-18
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
language: python
22
python:
3-
- "2.7"
4-
- "3.5"
53
- "3.6"
64
- "3.7"
75
- "3.8"
@@ -17,8 +15,8 @@ matrix:
1715
include:
1816
- python: "2.7"
1917
dist: trusty
20-
- python: "3.4"
21-
dist: xenial
18+
- python: "3.9-dev"
19+
dist: focal
2220

2321
dist: bionic
2422

@@ -31,4 +29,4 @@ deploy:
3129
on:
3230
repo: UpCloudLtd/upcloud-python-api
3331
tags: true
34-
python: "3.8"
32+
python: "3.9"

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==3.0.5
55
responses==0.3.0
6+
safety==1.8.7
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==2.0.0

requirements.txt

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

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ 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='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*',
4141
install_requires=[
42-
'requests>=2.6.0',
43-
'six>=1.9.0'
42+
'requests>=2.24.0',
43+
'six==1.15.0'
4444
]
4545
)

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 = py27, py36, py37, py38, py39, pypy3
88
skip_missing_interpreters = True
99

1010
[testenv]

0 commit comments

Comments
 (0)