Changeset - f63fef3858a1
[Not reviewed]
0 5 0
Branko Majic (branko) - 2 months ago 2024-02-24 00:52:51
branko@majic.rs
GC-43: Added support for Python 3.11:

- Updated documentation.
- Updated release notes.
- Updated supported Python versions in package configuration file.
- Updated Python versions used for tests.
5 files changed with 10 insertions and 5 deletions:
0 comments (0 inline, 0 general)
README.rst
Show inline comments
 
@@ -29,12 +29,13 @@ 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*
 

	
 

	
 
Why was this tool created?
 
--------------------------
 

	
 
The tool was created to remove the pain of setting-up a CA hierarchy,
docs/releasenotes.rst
Show inline comments
 
@@ -12,14 +12,15 @@ Release notes
 
=============
 

	
 

	
 
NEXT RELEASE
 
------------
 

	
 
This release adds support for Python 3.10, drops support for Python
 
3.5, 3.6, and 3.7, and updates package dependencies.
 
This release adds support for Python 3.10 and 3.11, while dropping
 
support for Python 3.5, 3.6, and 3.7. Package dependencies have been
 
updated as well.
 

	
 
.. warning::
 

	
 
   This release contains the following breaking changes:
 

	
 
   - Support for Python 3.5, 3.6, and 3.7 has been dropped. Make sure
 
@@ -28,12 +29,13 @@ This release adds support for Python 3.10, drops support for Python
 

	
 
Resolved issues:
 

	
 
- **Tasks**:
 

	
 
  - `GC-42: Support for Python 3.10 <https://projects.majic.rs/gimmecert/issues/GC-42>`_
 
  - `GC-43: Support for Python 3.11 <https://projects.majic.rs/gimmecert/issues/GC-43>`_
 
  - `GC-45: Drop support for Python 3.5, Python 3.6, and Python 3.7 <https://projects.majic.rs/gimmecert/issues/GC-45>`_
 

	
 

	
 
0.5.0
 
-----
 

	
provision.sh
Show inline comments
 
@@ -41,13 +41,13 @@ apt-get install -qq -y git virtualenv
 
apt-get install -qq -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libffi-dev
 

	
 
# Import public keys for validating Python releases.
 
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")
 
python_versions=("3.8.18" "3.9.18" "3.10.13" "3.11.8")
 
work_directory="/home/vagrant/src"
 

	
 
echo "Setting-up work directory."
 
sudo -i -u vagrant mkdir -p "$work_directory"
 

	
 
for version in "${python_versions[@]}"; do
setup.py
Show inline comments
 
@@ -21,13 +21,13 @@
 

	
 
import os
 
from setuptools import setup, find_packages
 

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

	
 
python_requirements = ">=3.8,<3.11"
 
python_requirements = ">=3.8,<3.12"
 

	
 
install_requirements = [
 
    'cryptography>=42.0,<42.1',
 
    'python-dateutil>=2.8,<2.9',
 
]
 

	
 
@@ -88,12 +88,13 @@ 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',
 
        'Topic :: Internet :: WWW/HTTP',
 
        'Topic :: Internet :: WWW/HTTP :: Site Management',
 
        'Topic :: Security',
 
        'Topic :: Software Development :: Testing',
 
        'Topic :: Utilities',
 
    ],
tox.ini
Show inline comments
 
@@ -15,24 +15,25 @@
 
#
 
# You should have received a copy of the GNU General Public License along with
 
# Gimmecert.  If not, see <http://www.gnu.org/licenses/>.
 
#
 

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

	
 
[testenv]
 
allowlist_externals =
 
  make
 

	
 
basepython =
 
  doc: python3
 
  lint: python3
 
  py38: python3.8
 
  py39: python3.9
 
  py310: python3.10
 
  py311: python3.11
 

	
 
deps =
 
  .[test]
 

	
 
setenv =
 
  # Force column width for functional tests since they depend on
0 comments (0 inline, 0 general)