Skip to content

Commit

Permalink
219 end python 36 testing add 311 (#220)
Browse files Browse the repository at this point in the history
* end 3.6, add 3.11
  • Loading branch information
c0fec0de committed Jun 25, 2023
1 parent 00ed4ec commit 814da59
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 17 deletions.
31 changes: 25 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ name: Python
on: [push]

jobs:
build:
runs-on: ${{ matrix.os }}
test:
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
os: [ubuntu-latest]

python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -20,6 +18,27 @@ jobs:
run: |
python -m pip install --upgrade pip
sudo apt-get install -y graphviz
pip install tox poetry
pip install tox "poetry>=1.4" coveralls
git --version
git submodule --help
- name: TOX
run: tox
- name: Upload coverage data to coveralls.io
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_FLAG_NAME: ${{ matrix.test-name }}
COVERALLS_PARALLEL: true

coveralls:
name: Indicate completion to coveralls.io
needs: test
runs-on: ubuntu-latest
container: python:3-slim
steps:
- name: Finished
run: |
pip3 install --upgrade coveralls
coveralls --service=github --finish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion anytree/dotexport.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ class RenderTreeGraph(DotExporter):
def __init__(self, *args, **kwargs):
"""Legacy. Use :any:`anytree.exporter.DotExporter` instead."""
warnings.warn(
("anytree.RenderTreeGraph has moved. " "Use anytree.exporter.DotExporter instead"), DeprecationWarning
("anytree.RenderTreeGraph has moved. Use anytree.exporter.DotExporter instead"), DeprecationWarning
)
super(RenderTreeGraph, self).__init__(*args, **kwargs)
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = "en"

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
Expand Down
18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,29 @@ keywords = [
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]


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

[tool.poetry.dependencies]
python = ">= 3.6.2, < 4"
python = ">= 3.7.2, < 4"
six = '*'

[tool.poetry.dev-dependencies]
black = '>=21.9b0'
coverage = '>=5.0.0'
isort = '>=5.9'
pylint = '>=2.13.5'
pytest = '>=6.2'
pyyaml = '*'
sphinx = '>=5.1.1'
black = '^22.3.0'
coverage = '^6.4.4'
isort = '^5.9'
pylint = '^2.15'
pytest = '^6.2'
sphinx = "<7.0.0"
pyyaml = ">=6.0"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

0 comments on commit 814da59

Please sign in to comment.