Skip to content

Commit

Permalink
Drop support for Python 3.6 and 3.7 + Upgrade dependencies in GitHub …
Browse files Browse the repository at this point in the history
…actions (#31)
  • Loading branch information
leifgehrmann authored Oct 22, 2023
1 parent b59cfe8 commit fa59166
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.6', '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
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion docs/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Install with pip_::

.. _pip: https://pip.pypa.io/

Note: Python versions < 3.6 are not supported.
Note: Python versions < 3.8 are not supported.

Importing pangocairocffi
------------------------
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ classifiers =
Intended Audience :: Developers
Natural Language :: English
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
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
Topic :: Multimedia :: Graphics
Topic :: Text Processing :: Fonts
project_urls =
Expand All @@ -37,7 +37,7 @@ install_requires =
cffi >= 1.1.0
cairocffi >= 1.0.2
pangocffi >= 0.11.0
python_requires = >= 3.6
python_requires = >= 3.8

[options.package_data]
pangocairocffi = VERSION, *.txt
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[tox]
envlist = py36, py37, py38, py39, py310
envlist = py38, py39, py310, py311, py312

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[testenv]
passenv = TOXENV CI
passenv = TOXENV,CI
deps = -rrequirements.txt
commands =
coverage run --source pangocairocffi -m pytest -s

0 comments on commit fa59166

Please sign in to comment.