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

Add Python 3.12 support, remove Python 3.7 #773

Merged
merged 1 commit into from
Oct 24, 2023
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
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
fail-fast: false
matrix:
python-version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
steps:
- uses: actions/checkout@v2
- 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 @@ -6,6 +6,10 @@ The format mostly follows [Keep a Changelog](http://keepachangelog.com/en/1.0.0/

## UNRELEASED

### Changed

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

### Fixed

- Fix documentation for watching Github tags and releases, again (#723)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://hub.docker.com/_/python
FROM python:3.11.0-alpine3.17
FROM python:3.12.0-alpine3.18

# Optional python modules for additional functionality
# https://urlwatch.readthedocs.io/en/latest/dependencies.html#optional-packages
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.7 or newer
- Python 3.8 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, 7):
sys.exit('urlwatch requires Python 3.7 or newer')
if sys.version_info < (3, 8):
sys.exit('urlwatch requires Python 3.8 or newer')

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