Skip to content

Commit

Permalink
Drop support for Python 3.7. (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac authored Jun 7, 2024
1 parent 5a49ba0 commit 41cd753
Show file tree
Hide file tree
Showing 8 changed files with 118 additions and 101 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,17 @@ jobs:
fail-fast: false
matrix:
os:
- ["ubuntu", "ubuntu-20.04"]
- ["ubuntu", "ubuntu-latest"]
config:
# [Python version, tox env]
- ["3.9", "release-check"]
- ["3.9", "lint"]
- ["3.7", "py37"]
- ["3.11", "release-check"]
- ["3.11", "lint"]
- ["3.8", "py38"]
- ["3.9", "py39"]
- ["3.10", "py310"]
- ["3.11", "py311"]
- ["3.12", "py312"]
- ["3.9", "coverage"]
- ["3.11", "coverage"]

runs-on: ${{ matrix.os[1] }}
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
Expand All @@ -52,7 +51,11 @@ jobs:
python -m pip install --upgrade pip
pip install tox
- name: Test
if: ${{ !startsWith(runner.os, 'Mac') }}
run: tox -e ${{ matrix.config[1] }}
- name: Test (macOS)
if: ${{ startsWith(runner.os, 'Mac') }}
run: tox -e ${{ matrix.config[1] }}-universal2
- name: Coverage
if: matrix.config[1] == 'coverage'
run: |
Expand Down
3 changes: 2 additions & 1 deletion .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
# https://github.com/zopefoundation/meta/tree/master/config/zope-product
[meta]
template = "zope-product"
commit-id = "17113b94"
commit-id = "b1221c3c"

[python]
with-pypy = false
with-sphinx-doctests = false
with-windows = false
with-future-python = false
with-macos = false
with-docs = false

[coverage]
fail-under = 83
Expand Down
4 changes: 3 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
Changelog
=========

5.3 (unreleased)
6.0 (unreleased)
----------------

- Drop support for Python 3.7.

- Add support to `implicit_tls` flag. With this flag set,
MailHost use TLS from the beginning of the connection,
known as SMTPS and commonly used on TCP port 465.
Expand Down
2 changes: 0 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Generated from:
# https://github.com/zopefoundation/meta/tree/master/config/zope-product
[bdist_wheel]
universal = 0

[flake8]
doctests = 1
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def _read(fname):

setup(
name='Products.MailHost',
version='5.3.dev0',
version='6.0.dev0',
url='https://github.com/zopefoundation/Products.MailHost',
project_urls={
'Issue Tracker': ('https://github.com/zopefoundation'
Expand All @@ -47,7 +47,6 @@ def _read(fname):
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
Expand All @@ -56,7 +55,7 @@ def _read(fname):
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Communications :: Email',
],
python_requires='>=3.7',
python_requires='>=3.8',
install_requires=[
'setuptools',
'AccessControl',
Expand Down
Loading

0 comments on commit 41cd753

Please sign in to comment.