Skip to content

Commit

Permalink
Bump minimum Python version to 3.9 (#834)
Browse files Browse the repository at this point in the history
  • Loading branch information
thp authored Jan 5, 2025
1 parent b601917 commit 1d24dd9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ jobs:
fail-fast: false
matrix:
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13.0-rc.2'
- '3.13'
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ The format mostly follows [Keep a Changelog](http://keepachangelog.com/en/1.0.0/

- New command-line option `--prepare-jobs` to initialize new jobs or jobs without history (#831 by nille02)

### Changed

- Remove EOL'd Python 3.8 (new minimum requirement is Python 3.9), add Python 3.13 testing

## [2.29] -- 2024-10-28

### Added
Expand Down
2 changes: 1 addition & 1 deletion docs/source/dependencies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ additional packages -- however, those are not needed to run urlwatch.
Mandatory Packages
------------------

- Python 3.8 or newer
- Python 3.9 or newer
- `PyYAML <http://pyyaml.org/>`__
- `minidb <https://thp.io/2010/minidb/>`__
- `requests <http://python-requests.org/>`__
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
m = dict(re.findall("\n__([a-z]+)__ = '([^']+)'", main_py))
docs = re.findall('"""(.*?)"""', main_py, re.DOTALL)

if sys.version_info < (3, 8):
sys.exit('urlwatch requires Python 3.8 or newer')
if sys.version_info < (3, 9):
sys.exit('urlwatch requires Python 3.9 or newer')

m['name'] = 'urlwatch'
m['author'], m['author_email'] = re.match(r'(.*) <(.*)>', m['author']).groups()
Expand Down

0 comments on commit 1d24dd9

Please sign in to comment.