From e041f647643d34ca3c4d621e49b011708cc4b816 Mon Sep 17 00:00:00 2001 From: rafsaf Date: Tue, 15 Nov 2022 22:07:14 +0100 Subject: [PATCH 1/2] Python 3.11 support and moved files from docs to main folder --- .github/workflows/cicd.yml | 2 +- docs/CHANGES.rst => CHANGELOG.rst | 2 +- docs/LICENSE => LICENSE | 0 setup.py | 3 ++- tox.ini | 6 +++--- 5 files changed, 7 insertions(+), 6 deletions(-) rename docs/CHANGES.rst => CHANGELOG.rst (99%) rename docs/LICENSE => LICENSE (100%) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 7f5956a..a3ec782 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -5,7 +5,7 @@ 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 - name: Set up Python ${{ matrix.python-version }} diff --git a/docs/CHANGES.rst b/CHANGELOG.rst similarity index 99% rename from docs/CHANGES.rst rename to CHANGELOG.rst index d84ae63..a5ad9dc 100644 --- a/docs/CHANGES.rst +++ b/CHANGELOG.rst @@ -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) diff --git a/docs/LICENSE b/LICENSE similarity index 100% rename from docs/LICENSE rename to LICENSE diff --git a/setup.py b/setup.py index 36f7b2d..4814f57 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ def read(*rnames): long_description = "\n\n".join( [ read('README.rst'), - read('docs', 'CHANGES.rst'), + read('CHANGELOG.rst'), ] ) @@ -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'}, diff --git a/tox.ini b/tox.ini index 28c9875..2171186 100644 --- a/tox.ini +++ b/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 @@ -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 From 7447fe3b72240fd6684a3f2c154f5f8b6867644b Mon Sep 17 00:00:00 2001 From: rafsaf Date: Tue, 15 Nov 2022 22:10:41 +0100 Subject: [PATCH 2/2] Bump actions/checkout and actions/setup-python in cicd.yml to newset versions --- .github/workflows/cicd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index a3ec782..7314215 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -7,9 +7,9 @@ jobs: matrix: 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