Skip to content

Commit

Permalink
Dropy python 3.7, add 3.11 and 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
wheerd committed Apr 5, 2024
1 parent 5b251ab commit ff6fae7
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/python-dependabot.yml
@@ -1,21 +1,19 @@
name: Dependabot Tests

on:
pull_request_target
on: pull_request_target

jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
name: Run tests
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup python
uses: actions/setup-python@v2
with:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/python-test.yml
Expand Up @@ -3,18 +3,18 @@ name: Tests
on:
push:
branches:
- master
- master
pull_request:
branches:
- master
- master

jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
name: Run tests
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -43,8 +43,8 @@ jobs:
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
parallel-finished: true
carryforward: "run-3.8"
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
parallel-finished: true
carryforward: "run-3.8"
5 changes: 3 additions & 2 deletions pyproject.toml
Expand Up @@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "multiset"
requires-python = ">=3.7"
requires-python = ">=3.8"
description = "An implementation of a multiset."
license = {text = "MIT"}
classifiers = [
Expand All @@ -17,10 +17,11 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
authors = [
{name = "Manuel Krebber", email = "admin@wheerd.de"},
Expand Down
5 changes: 3 additions & 2 deletions setup.cfg
Expand Up @@ -10,10 +10,11 @@ classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
home_page = https://github.com/wheerd/multiset
repository = https://github.com/wheerd/multiset
documentation = https://multiset.readthedocs.io/
Expand All @@ -27,7 +28,7 @@ include_package_data = True
setup_requires =
setuptools >= 46
setuptools_scm
python_requires = >= 3.7
python_requires = >= 3.8
py_modules = multiset
test_suite = tests

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py37, py38, py39, py310
envlist = py38, py39, py310, py311, py312

[testenv]
commands =
Expand Down

0 comments on commit ff6fae7

Please sign in to comment.