Skip to content

Commit 197320d

Browse files
committed
GitHub Actions & test fixes, Python versions, myst-parser versions
1 parent b63c3c2 commit 197320d

File tree

4 files changed

+12
-18
lines changed

4 files changed

+12
-18
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,11 @@ jobs:
55
lint:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
8+
- uses: actions/checkout@v4
99
- name: Setup python
10-
uses: actions/setup-python@v2
10+
uses: actions/setup-python@v5
1111
with:
12-
python-version: 3.8
12+
python-version: 3.12
1313
architecture: x64
14-
- uses: actions/cache@v1
15-
with:
16-
path: ~/.cache/pip
17-
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
1814
- run: pip install -e .[test]
1915
- run: flake8 .

.github/workflows/test.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,22 @@ jobs:
77
runs-on: ubuntu-20.04
88
strategy:
99
matrix:
10-
python-version: [ '3.8', '3.9', '3.10', '3.11']
10+
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ]
1111
# Removed testing of myst-parser-version<0.18.0
12-
myst-parser-version: [ '>=0.18.0,<0.19', '>=0.19.0,<1.0', '>=1.0.0,<2', '>=2.0.0,<3', '>=3.0.0,<4']
12+
myst-parser-version: [ '>=0.18.0,<0.19', '>=0.19.0,<1.0', '>=1.0.0,<2', '>=2.0.0,<3', '>=3.0.0,<4', '>=4,<5' ]
1313
jsonref-version: [">1"]
1414
include:
1515
# jsonref 1.0 has a backwards incompatible change - make sure we test just once with an older version of jsonref
1616
- python-version: '3.11'
1717
jsonref-version: "==0.3"
1818
myst-parser-version: '>=3.0.0,<4'
1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
2121
- name: Setup python
22-
uses: actions/setup-python@v2
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525
architecture: x64
26-
- uses: actions/cache@v1
27-
with:
28-
path: ~/.cache/pip
29-
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}-${{ matrix.python-version }}
30-
restore-keys: |
31-
${{ runner.os }}-pip-
3226
- run: pip install -e .[test]
3327
- run: pip install 'jsonref${{ matrix.jsonref-version }}'
3428
- run: pip install "myst-parser${{ matrix.myst-parser-version }}"

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
### Changed
10+
11+
- Dropped support for Python 3.8 and lower, as these are end of life
12+
913
## [0.7.1] - 2024-11-25
1014

1115
### Fixed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
platforms='any',
3333
packages=find_packages(),
3434
include_package_data=True,
35-
python_requires='>=3.8',
35+
python_requires='>=3.9',
3636
install_requires=[
3737
'docutils',
3838
'jsonref',

0 commit comments

Comments
 (0)