From 216598f937131d652162b7844237c2ec99e0b21d Mon Sep 17 00:00:00 2001 From: Nikhil Dhandre Date: Mon, 20 Jan 2025 12:39:13 +0530 Subject: [PATCH 1/2] Python 3.13 test run --- .github/workflows/pythonapp.yml | 10 +++++----- pyproject.toml | 2 ++ tox.ini | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index d8fc93f..d731fb1 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: hynek/build-and-inspect-python-package@v1 + - uses: hynek/build-and-inspect-python-package@v2 test: runs-on: ubuntu-latest @@ -27,7 +27,7 @@ jobs: strategy: matrix: # todo: extract from source - python-version: [3.8, 3.9, '3.10', '3.11', '3.12'] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] install-from: ["dist/*.whl"] steps: - uses: actions/checkout@v4 @@ -37,13 +37,13 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ env.pythonLocation }} key: ${{ env.pythonLocation }} - name: Install pytest run: pip install pytest - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: Packages path: dist @@ -59,7 +59,7 @@ jobs: if: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') }} needs: [test] steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: Packages path: dist diff --git a/pyproject.toml b/pyproject.toml index 79c47ab..e444b4e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,8 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Utilities", ] diff --git a/tox.ini b/tox.ini index e6ca21a..3781e02 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{38,39,310,311},mypy +envlist = py{38,39,310,311,312,313},mypy build_isolation = true [testenv] From f31c8be860c3620dbfdd3329f637adcf536e237c Mon Sep 17 00:00:00 2001 From: Nikhil Dhandre Date: Mon, 20 Jan 2025 12:58:41 +0530 Subject: [PATCH 2/2] Remove travis build status --- .github/workflows/pythonapp.yml | 2 +- README.rst | 11 ++--------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index d731fb1..eb67cb3 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -4,7 +4,7 @@ on: pull_request: push: branches: - - main + - master tags: - "v*" release: diff --git a/README.rst b/README.rst index c23e897..2765c03 100644 --- a/README.rst +++ b/README.rst @@ -1,14 +1,7 @@ -.. image:: https://travis-ci.org/RedHatQE/navmazing.svg - :scale: 50 % - :alt: Build Status - :align: left - :target: https://travis-ci.org/RedHatQE/navmazing -.. image:: https://coveralls.io/repos/RedHatQE/navmazing/badge.svg?branch=master&service=github - :scale: 50 % - :alt: Coverage Status - :align: left +.. image:: https://coveralls.io/repos/github/RedHatQE/navmazing/badge.svg?branch=master :target: https://coveralls.io/github/RedHatQE/navmazing?branch=master + navmazing =========