Skip to content

Commit

Permalink
Update cryptography version (#33)
Browse files Browse the repository at this point in the history
* Update cryptography version

* Remove Python2 support
  • Loading branch information
catronnc authored Mar 10, 2023
1 parent 470ed67 commit 36e0200
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 109 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AWS EC2 Instance Connect CLI

This is a Python client for accessing EC2 instances via AWS EC2 Instance Connect.
This module supports Python 2.7.x and 3+. [This package is available on PyPI for pip installation](https://pypi.org/project/ec2instanceconnectcli/), ie, `pip install ec2instanceconnectcli`
This module supports Python 3.6.x+. [This package is available on PyPI for pip installation](https://pypi.org/project/ec2instanceconnectcli/), ie, `pip install ec2instanceconnectcli`

## Setup

Expand Down Expand Up @@ -31,8 +31,6 @@ Unit tests can be run with standard pytest. They may be run, for example, by

`python -m pytest`

For Python2, ensure **mock** is installed: `pip2 install mock`.

Also, for corrcting import when using virtualenv, you have to export PYTHONPATH by running: `export PYTHONPATH=$(pwd)`

## Generating Documentation
Expand Down
5 changes: 0 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ This client supports all standard ssh operations with the `mssh` command and all

The ec2-connect-cli package works on Python versions:

* 2.6.x and greater
* 2.7.x and greater
* 3.3.x and greater
* 3.4.x and greater
* 3.5.x and greater
* 3.6.x and greater

------------
Expand Down
5 changes: 0 additions & 5 deletions doc/source/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ This client supports all standard ssh operations with the `mssh` command and all

The ec2-connect-cli package works on Python versions:

* 2.6.x and greater
* 2.7.x and greater
* 3.3.x and greater
* 3.4.x and greater
* 3.5.x and greater
* 3.6.x and greater

------------
Expand Down
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# The short X.Y version
version = '1.0'
# The full version, including alpha/beta/rc tags
release = '1.0.2'
release = '1.0.3'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion ec2instanceconnectcli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"""
import os

__version__ = '1.0.2'
__version__ = '1.0.3'

EnvironmentVariables = {
'ca_bundle': ('ca_bundle', 'AWS_CA_BUNDLE', None, None),
Expand Down
85 changes: 0 additions & 85 deletions ec2instanceconnectcli/py2py3.py

This file was deleted.

2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
setuptools>=3.3
cryptography>=1.9
cryptography>=39.0.1
botocore>=1.12.179
pytest>=3.2.3
pytest-cov>=2.5.1
4 changes: 1 addition & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
[bdist_wheel]
# Flag indicating code works for both Python 2 and Python 3.
universal=1

[metadata]
requires-dist=
cryptography>=1.9
cryptography>=39.0.1
botocore>=1.12.179

[tool:pytest]
Expand Down
6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def find_version(*file_paths):
raise RuntimeError("Unable to find version string.")


requires = ['cryptography>=1.9',
requires = ['cryptography>=39.0.1',
'botocore>=1.12.179'
]

Expand Down Expand Up @@ -50,11 +50,7 @@ def find_version(*file_paths):
'Operating System :: OS Independent',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
Expand Down

0 comments on commit 36e0200

Please sign in to comment.