Skip to content

Commit

Permalink
Merge pull request #27 from rafsaf/python-3-11-and-move-docs
Browse files Browse the repository at this point in the history
Python 3.11 support and move files from docs to main directory
  • Loading branch information
kiorky committed Nov 22, 2022
2 parents 8204e09 + 7447fe3 commit 4e4fb5c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cicd.yml
Expand Up @@ -5,11 +5,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, "3.10"]
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion docs/CHANGES.rst → CHANGELOG.rst
Expand Up @@ -4,7 +4,7 @@ Changelog
1.3.8 (unreleased)
------------------

- Nothing changed yet.
- Add Python 3.11 support and move docs files to main folder [rafsaf]


1.3.7 (2022-09-06)
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -18,7 +18,7 @@ def read(*rnames):
long_description = "\n\n".join(
[
read('README.rst'),
read('docs', 'CHANGES.rst'),
read('CHANGELOG.rst'),
]
)

Expand Down Expand Up @@ -55,6 +55,7 @@ def read(*rnames):
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules"],
packages=find_packages('src', exclude=['tests*', '*.tests*']),
package_dir={'': 'src'},
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
@@ -1,7 +1,7 @@
[tox]
minversion = 2.3
envlist =
{py26,py27,py34,py35,py36,py37,py38,py39,py310}-std
{py26,py27,py34,py35,py36,py37,py38,py39,py310,py311}-std
py27-coverage
skipsdist = true

Expand All @@ -14,8 +14,8 @@ setenv =
COVERAGE_FILE={envdir}/coverage_report
changedir = src
commands =
{py26,py27,py34,py35,py36,py37,py38,py39,py310}-std: py.test -v .
{py27,py34,py35,py36,py37,py38,py39,py310}-std: flake8 croniter/croniter.py
{py26,py27,py34,py35,py36,py37,py38,py39,py310,py311}-std: py.test -v .
{py27,py34,py35,py36,py37,py38,py39,py310,py311}-std: flake8 croniter/croniter.py
py27-coverage: coverage erase
py27-coverage: sh -c 'cd .. && coverage run $(which py.test) -v src'
py27-coverage: coverage report

0 comments on commit 4e4fb5c

Please sign in to comment.