Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropped python 3.8 support and added python 3.12+ #118

Merged
merged 3 commits into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/sievelib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: [3.9, '3.10', '3.11', '3.12', '3.13']
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand All @@ -27,15 +27,15 @@ jobs:
pip install codecov pytest pytest-cov
pip install -e .
- name: Run tests
if: ${{ matrix.python-version != '3.11' }}
if: ${{ matrix.python-version != '3.13' }}
run: |
pytest
- name: Run tests and coverage
if: ${{ matrix.python-version == '3.11' }}
if: ${{ matrix.python-version == '3.13' }}
run: |
pytest --cov=sievelib --cov-report xml
- name: Upload coverage result
if: ${{ matrix.python-version == '3.11' }}
if: ${{ matrix.python-version == '3.13' }}
uses: actions/upload-artifact@v4
with:
name: coverage-results
Expand Down Expand Up @@ -69,10 +69,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.11
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'
- name: Create package
run: |
python setup.py sdist
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ def local_scheme(version):
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Communications :: Email :: Filters",
],
python_requires=">=3.7",
python_requires=">=3.9",
long_description=LONG_DESCRIPTION,
)
Loading