Skip to content

Commit

Permalink
Merge pull request #81 from jelmer/bump-python
Browse files Browse the repository at this point in the history
Bumping python versions in GitHub workflows and pyproject.toml
  • Loading branch information
jelmer authored Nov 14, 2024
2 parents cae789d + 04d47a4 commit c92b6ca
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 26 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,31 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9"]
python-version: ["3.9", "3.10", "3.11", "3.12", "pypy3.9", '3.13']
os: ["ubuntu-latest"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Deps
run: sudo apt-get install check libcppunit-dev
- name: Install package
run: |
python -m pip install ruff
python -m pip install -U '.[test,docs]'
- name: Build
run: autoreconf -fi && ./configure && make
- name: Run ruff check
run: ruff check python
- name: Format
run: |
python -m ruff format --check .
- name: Run make check
run: make check
- name: Run make distcheck
run: make distcheck
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Deps
run: sudo apt-get install check libcppunit-dev
- name: Install package
run: |
python -m pip install ruff
python -m pip install -U '.[test,docs]'
- name: Build
run: autoreconf -fi && ./configure && make
- name: Run ruff check
run: ruff check python
- name: Format
run: |
python -m ruff format --check .
- name: Run make check
run: make check
- name: Run make distcheck
run: make distcheck
# Disabled; needs a tuit or two
# - name: Docs build
# run: md2html.py README.md README.html
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ authors = [
classifiers = [
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python",
"Topic :: Software Development :: Testing",
]
Expand All @@ -28,7 +27,7 @@ keywords = ["python", "streaming", "test"]
license = { text = "Apache-2.0 or BSD" }
name = "python-subunit"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"

[project.urls]
"Bug Tracker" = "https://bugs.launchpad.net/subunit"
Expand Down

0 comments on commit c92b6ca

Please sign in to comment.