Skip to content

Commit 7731bde

Browse files
authored
Merge pull request #140 from Kriechi/modernize
modernize all the things
2 parents f49e5f0 + 960fce0 commit 7731bde

File tree

17 files changed

+198
-325
lines changed

17 files changed

+198
-325
lines changed

.codecov.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
comment: off

.coveragerc

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
pull_request:
7+
branches: ["master"]
8+
9+
jobs:
10+
tox:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
max-parallel: 5
14+
matrix:
15+
python-version:
16+
- 3.6
17+
- 3.7
18+
- 3.8
19+
- 3.9
20+
- pypy3
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
- uses: actions/setup-python@v2
25+
with:
26+
python-version: ${{ matrix.python-version }}
27+
- name: Install tox
28+
run: |
29+
python -m pip install --upgrade pip setuptools
30+
pip install --upgrade tox tox-gh-actions
31+
- name: Initialize tox envs
32+
run: |
33+
tox --parallel auto --notest
34+
- name: Test with tox
35+
run: |
36+
tox --parallel 0
37+
- uses: codecov/codecov-action@v1
38+
with:
39+
file: ./coverage.xml

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ dist/
55
*.pyc
66
__pycache__
77
.coverage
8+
coverage.xml
89
.tox/
910
.hypothesis/
1011
.cache/

.travis.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

HISTORY.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
Changelog
22
=========
33

4-
1.4.0-dev
4+
2.0.0-dev
55
---------
66

77
**API Changes**
88

9+
- Support for Python 2.7 has been removed.
10+
- Support for Python 3.3 has been removed.
11+
- Support for Python 3.4 has been removed.
12+
- Support for Python 3.5 has been removed.
13+
- Support for PyPy (Python 2.7 compatible) has been removed.
14+
- Support for Python 3.8 has been added.
15+
- Support for Python 3.9 has been added.
916
- Throw ``TypeError`` when creating a priority tree with a ``maximum_streams``
1017
value that is not an integer.
1118
- Throw ``ValueError`` when creating a priority tree with a ``maximum_streams``

MANIFEST.in

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
include README.rst LICENSE CONTRIBUTORS.rst HISTORY.rst
2-
1+
graft priority
2+
graft docs
3+
graft test
4+
graft visualizer
5+
graft examples
6+
prune docs/build
7+
recursive-include *.py
8+
include README.rst LICENSE CONTRIBUTORS.rst HISTORY.rst tox.ini Makefile
9+
global-exclude *.pyc *.pyo *.swo *.swp *.map *.yml *.DS_Store

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
.PHONY: publish
22

33
publish:
4-
rm -rf dist/*
5-
python setup.py sdist bdist_wheel
4+
tox -e packaging
65
twine upload -s dist/*
7-

0 commit comments

Comments
 (0)