Changeset - 37395e095210
[Not reviewed]
0 7 0
Branko Majic (branko) - 4 years ago 2020-05-13 15:11:34
branko@majic.rs
GC-35: Drop support for Python 3.4:

- Updated documentation, removing Python 3.4 as supported version.
- Updated documentation to include support for Python 3.7 (this was
already supported, but documentation did not list it in a couple of
places).
- Updated Tox configuration with list of supported Python
versions.
- Build Python 3.5.x for full test against all Python versions in
order to make it independent of underlying distribution Python
version.
- Update package requirements.
- Updated release notes.
7 files changed with 20 insertions and 8 deletions:
0 comments (0 inline, 0 general)
README.rst
Show inline comments
 
@@ -26,15 +26,15 @@ The tool is useful for issuing certificates in:
 
  tests to use certificates in order to ensure the tests are run
 
  properly and in full.
 

	
 
At time of this writing, Gimmecert is compatible with the following
 
Python versions:
 

	
 
- *Python 3.4*
 
- *Python 3.5*
 
- *Python 3.6*
 
- *Python 3.7*
 

	
 

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

	
 
The tool was created to remove the pain of setting-up a CA hierarchy,
docs/development.rst
Show inline comments
 
@@ -25,13 +25,13 @@ set-up. The process outlined here is centered around
 
<https://virtualenvwrapper.readthedocs.io/>`_. Instructions have been
 
tailored for a GNU/Linux system.
 

	
 
Before proceeding, ensure you have the following system-wide packages
 
installed:
 

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

	
 
With those in place, do the following:
 

	
 
1. Clone the git repository::
 

	
docs/installation.rst
Show inline comments
 
@@ -11,13 +11,13 @@
 
Installation
 
============
 

	
 
Gimmecert can be easily installed using ``pip``. Before installing it,
 
make sure the following requirements have been met:
 

	
 
- You are running *Python 3.4+*.
 
- You are running *Python 3.5+*.
 

	
 
In order to install latest stable release of *Gimmecert* using *pip*, run the
 
following command::
 

	
 
  pip install gimmecert
 

	
docs/releasenotes.rst
Show inline comments
 
@@ -2,12 +2,26 @@ Release notes
 
=============
 

	
 

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

	
 
.. warning::
 

	
 
   This release contains the following breaking changes:
 

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

	
 
Resolved issues:
 

	
 
- **Tasks**:
 

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

	
 

	
 
0.2.0
 
-----
 

	
 
This release is mostly oriented towards smaller bug-fixes, updates of
 
package dependencies, and improving the ease of testing during
provision.sh
Show inline comments
 
@@ -24,13 +24,13 @@ apt-get install -qq -y git virtualenv
 
apt-get install -qq -y make build-essential libssl1.0-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.4.9" "3.6.7" "3.7.1")
 
python_versions=("3.5.9" "3.6.10" "3.7.7")
 
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.4,<3.8"
 
python_requirements = ">=3.5,<3.8"
 

	
 
install_requirements = [
 
    'cryptography>=2.4,<2.5',
 
    'python-dateutil>=2.7,<2.8',
 
]
 

	
 
@@ -90,13 +90,12 @@ setup(
 
        'Development Status :: 1 - Planning',
 
        'Environment :: Console',
 
        'Intended Audience :: Developers',
 
        'Intended Audience :: System Administrators',
 
        'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
 
        'Operating System :: OS Independent',
 
        'Programming Language :: Python :: 3.4',
 
        'Programming Language :: Python :: 3.5',
 
        'Programming Language :: Python :: 3.6',
 
        'Programming Language :: Python :: 3.7',
 
        'Topic :: Internet :: WWW/HTTP',
 
        'Topic :: Internet :: WWW/HTTP :: Site Management',
 
        'Topic :: Security',
tox.ini
Show inline comments
 
[tox]
 
envlist = {py34,py35,py36,py37},lint,doc
 
envlist = {py35,py36,py37},lint,doc
 

	
 
[testenv]
 
whitelist_externals =
 
  make
 

	
 
basepython =
 
  doc: python3
 
  lint: python3
 
  py34: python3.4
 
  py35: python3.5
 
  py36: python3.6
 
  py37: python3.7
 

	
 
deps =
 
  .[test]
0 comments (0 inline, 0 general)