Changeset - 241ea275db4e
[Not reviewed]
0 8 0
Branko Majic (branko) - 3 months ago 2025-09-06 11:08:33
branko@majic.rs
GC-50: Drop support for Python 3.8.
8 files changed with 21 insertions and 15 deletions:
0 comments (0 inline, 0 general)
README.rst
Show inline comments
 
@@ -29,7 +29,6 @@ The tool is useful for issuing certificates in:
 
At time of this writing, Gimmecert is compatible with the following
 
Python versions:
 

	
 
- *Python 3.8*
 
- *Python 3.9*
 
- *Python 3.10*
 
- *Python 3.11*
docs/development.rst
Show inline comments
 
@@ -28,7 +28,7 @@ tailored for a GNU/Linux system.
 
Before proceeding, ensure you have the following system-wide packages
 
installed:
 

	
 
- `Python, version 3.8+ <https://www.python.org/>`_.
 
- `Python, version 3.9+ <https://www.python.org/>`_.
 
- `virtualenvwrapper <https://virtualenvwrapper.readthedocs.io/>`_.
 

	
 
With those in place, do the following:
 
@@ -126,7 +126,7 @@ Tests can also be run using `tox <https://tox.readthedocs.io/>`_:
 
  tox list
 

	
 
  # Run tests against specific Python version.
 
  tox run -e py38
 
  tox run -e py312
 

	
 
  # Run documentation and linting tests only.
 
  tox run -e doc,lint
docs/installation.rst
Show inline comments
 
@@ -14,7 +14,7 @@ Installation
 
Gimmecert can be easily installed using ``pip``. Before installing it,
 
make sure the following requirements have been met:
 

	
 
- You are running *Python 3.8+*.
 
- You are running *Python 3.9+*.
 

	
 
In order to install latest stable release of *Gimmecert* using *pip*, run the
 
following command::
docs/releasenotes.rst
Show inline comments
 
@@ -15,6 +15,20 @@ Release notes
 
NEXT RELEASE
 
------------
 

	
 
.. warning::
 

	
 
   This release contains the following breaking changes:
 

	
 
   - Support for Python 3.8 has been dropped. Make sure that you are
 
     using one of the supported Python versions prior to upgrading
 
     *Gimmecert*.
 

	
 
Resolved issues:
 

	
 
- **Tasks**:
 

	
 
  - `GC-50: Drop support for Python 3.8 <https://projects.majic.rs/gimmecert/issues/GC-50>`_
 

	
 

	
 
1.0.0
 
-----
functional_tests/test_server.py
Show inline comments
 
@@ -43,12 +43,7 @@ def test_server_command_available_with_help():
 
    assert exit_code == 0
 
    assert stderr == ""
 
    assert stdout.startswith("usage: gimmecert server")
 
    # Help output for nargs="*" got changed in Python 3.9. See
 
    # https://bugs.python.org/issue38438 for details.
 
    if sys.version_info.major == 3 and sys.version_info.minor < 9:
 
        assert " entity_name [dns_name [dns_name ...]]" in stdout
 
    else:
 
        assert " entity_name [dns_name ...]" in stdout
 
    assert " entity_name [dns_name ...]" in stdout
 

	
 

	
 
def test_server_command_requires_initialised_hierarchy(tmpdir):
provision.sh
Show inline comments
 
@@ -44,7 +44,7 @@ apt-get install -qq -y make build-essential libssl-dev zlib1g-dev libbz2-dev lib
 
sudo -i -u vagrant gpg -q --import /vagrant/provision/python_releases_signing_keys.pub
 

	
 
# Download and build additional Python versions.
 
python_versions=("3.8.18" "3.9.18" "3.10.13" "3.11.8" "3.12.2")
 
python_versions=("3.9.18" "3.10.13" "3.11.8" "3.12.2")
 
work_directory="/home/vagrant/src"
 

	
 
echo "Setting-up work directory."
setup.py
Show inline comments
 
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
 

	
 
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
 

	
 
python_requirements = ">=3.8,<3.13"
 
python_requirements = ">=3.9,<3.13"
 

	
 
install_requirements = [
 
    'cryptography>=42.0,<42.1',
 
@@ -88,7 +88,6 @@ setup(
 
        'Intended Audience :: System Administrators',
 
        'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
 
        'Operating System :: OS Independent',
 
        'Programming Language :: Python :: 3.8',
 
        'Programming Language :: Python :: 3.9',
 
        'Programming Language :: Python :: 3.10',
 
        'Programming Language :: Python :: 3.11',
tox.ini
Show inline comments
 
@@ -18,7 +18,7 @@
 
#
 

	
 
[tox]
 
envlist = {py38,py39,py310,py311,py312},lint,doc
 
envlist = {py39,py310,py311,py312},lint,doc
 

	
 
[testenv]
 
allowlist_externals =
 
@@ -27,7 +27,6 @@ allowlist_externals =
 
basepython =
 
  doc: python3
 
  lint: python3
 
  py38: python3.8
 
  py39: python3.9
 
  py310: python3.10
 
  py311: python3.11
0 comments (0 inline, 0 general)