Skip to content

Commit 814da59

Browse files
authored
219 end python 36 testing add 311 (#220)
* end 3.6, add 3.11
1 parent 00ed4ec commit 814da59

File tree

4 files changed

+36
-17
lines changed

4 files changed

+36
-17
lines changed

.github/workflows/main.yml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@ name: Python
33
on: [push]
44

55
jobs:
6-
build:
7-
runs-on: ${{ matrix.os }}
6+
test:
87
strategy:
98
matrix:
10-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
11-
os: [ubuntu-latest]
12-
9+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
10+
runs-on: ubuntu-latest
1311
steps:
1412
- uses: actions/checkout@v3
1513
- name: Set up Python ${{ matrix.python-version }}
@@ -20,6 +18,27 @@ jobs:
2018
run: |
2119
python -m pip install --upgrade pip
2220
sudo apt-get install -y graphviz
23-
pip install tox poetry
21+
pip install tox "poetry>=1.4" coveralls
22+
git --version
23+
git submodule --help
2424
- name: TOX
2525
run: tox
26+
- name: Upload coverage data to coveralls.io
27+
run: coveralls --service=github
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
COVERALLS_FLAG_NAME: ${{ matrix.test-name }}
31+
COVERALLS_PARALLEL: true
32+
33+
coveralls:
34+
name: Indicate completion to coveralls.io
35+
needs: test
36+
runs-on: ubuntu-latest
37+
container: python:3-slim
38+
steps:
39+
- name: Finished
40+
run: |
41+
pip3 install --upgrade coveralls
42+
coveralls --service=github --finish
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

anytree/dotexport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ class RenderTreeGraph(DotExporter):
77
def __init__(self, *args, **kwargs):
88
"""Legacy. Use :any:`anytree.exporter.DotExporter` instead."""
99
warnings.warn(
10-
("anytree.RenderTreeGraph has moved. " "Use anytree.exporter.DotExporter instead"), DeprecationWarning
10+
("anytree.RenderTreeGraph has moved. Use anytree.exporter.DotExporter instead"), DeprecationWarning
1111
)
1212
super(RenderTreeGraph, self).__init__(*args, **kwargs)

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
#
7777
# This is also used if you do content translation via gettext catalogs.
7878
# Usually you set "language" from the command line for these cases.
79-
language = None
79+
language = "en"
8080

8181
# There are two options for replacing |today|: either, you set today to some
8282
# non-false value, then it is used:

pyproject.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,29 @@ keywords = [
2323
classifiers = [
2424
"Topic :: Software Development :: Libraries :: Python Modules",
2525
"Development Status :: 5 - Production/Stable",
26-
"Programming Language :: Python :: 3.6",
2726
"Programming Language :: Python :: 3.7",
2827
"Programming Language :: Python :: 3.8",
2928
"Programming Language :: Python :: 3.9",
3029
"Programming Language :: Python :: 3.10",
30+
"Programming Language :: Python :: 3.11",
3131
]
3232

3333

3434
[tool.poetry.scripts]
3535
ebt = "anytree.cli:main"
3636

3737
[tool.poetry.dependencies]
38-
python = ">= 3.6.2, < 4"
38+
python = ">= 3.7.2, < 4"
3939
six = '*'
4040

4141
[tool.poetry.dev-dependencies]
42-
black = '>=21.9b0'
43-
coverage = '>=5.0.0'
44-
isort = '>=5.9'
45-
pylint = '>=2.13.5'
46-
pytest = '>=6.2'
47-
pyyaml = '*'
48-
sphinx = '>=5.1.1'
42+
black = '^22.3.0'
43+
coverage = '^6.4.4'
44+
isort = '^5.9'
45+
pylint = '^2.15'
46+
pytest = '^6.2'
47+
sphinx = "<7.0.0"
48+
pyyaml = ">=6.0"
4949

5050
[build-system]
5151
requires = ["poetry-core>=1.0.0"]

0 commit comments

Comments
 (0)