Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.11 support and move files from docs to main directory #27

Merged
merged 2 commits into from Nov 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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