Skip to content

Commit

Permalink
Updated supported Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
claudep committed Dec 16, 2023
1 parent 79bf6c0 commit 00a9d24
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -23,11 +23,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Unreleased

- Add Arial font name in addition to Helvetica for better font fallback on some
systems.
- Drop support for Python < 3.8, and add testing for Python 3.11 and 3.12.

1.0.0 (2022-09-21)
------------------
Expand Down
6 changes: 1 addition & 5 deletions scripts/qrbill
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ import argparse
import sys
import warnings
from datetime import datetime
try:
from importlib import metadata
except ImportError:
# Running on pre-3.8 Python; use importlib-metadata package
import importlib_metadata as metadata
from importlib import metadata

from qrbill import QRBill

Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ install_requires =
python-stdnum>=1.13
qrcode
svgwrite
importlib-metadata ~= 1.0 ; python_version < "3.8"
test_suite = tests

[flake8]
Expand Down

0 comments on commit 00a9d24

Please sign in to comment.