Skip to content

Commit

Permalink
Test Python 3.7 on Ubuntu 22.04, and add Ubuntu 3.13
Browse files Browse the repository at this point in the history
This is analogous to the gitdb test workflow and `setup.py` were
updated in gitpython-developers/gitdb#114.

1. Testing 3.7 on 22.04 rather than 24.04 should fix the problem
   where it fails because Python 3.7 is not available.

2. Adding Ubuntu 3.13 to CI may help reveal if there are
   3.13-specific problems with smmap.

3. smmap seems to be working on Python 3.13 (which is a stable
   Python release) and there are no specific expected problems with
   it, so this adds it to the list of supported releases.

In particular, this change, due to (1), fixes the current CI
failure for smmap observed in f31bfa3.
  • Loading branch information
EliahKagan committed Jan 2, 2025
1 parent f31bfa3 commit ef5d979
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ on: [push, pull_request, workflow_dispatch]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
include:
- experimental: false
- os: ubuntu-latest
- python-version: "3.7"
os: ubuntu-22.04

runs-on: ${{ matrix.os }}

continue-on-error: ${{ matrix.experimental }}

steps:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
],
long_description=long_description,
Expand Down

0 comments on commit ef5d979

Please sign in to comment.