-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from crest42/bump_cryptography
* Bump dependencies (notably cryptography>=39.0.1 and flask>=2.2.0) * Deprecate Python 3.7 due to EOL soon and bump trx version to 1.6.1 * Drop support for Python 2 and remove dependency on 'six' This commit removes all code and dependencies related to Python 2, including the 'six' library. This will allow us to focus on using modern Python features and libraries, and streamline our codebase. Any future contributions should be made with Python >=3.8 in mind. * Update GitHub action to test Python 3.8 - 3.10 only This commit updates the GitHub action to test our codebase only with Python versions 3.8, 3.9, and 3.10. * Make github action run on master merges with action pull_request_target --------- Co-authored-by: Robin Lösch <[email protected]>
- Loading branch information
Showing
8 changed files
with
29 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
VERSION = "1.6.0" | ||
VERSION = "1.6.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
flask>=1 | ||
six>=1 | ||
cryptography==3.3.2 # pinned for now as newer versions require setuptools_rust | ||
dataclasses==0.8; python_version < "3.7" | ||
flask>=2.2.3 | ||
cryptography==39.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
|
||
setup( | ||
name='maltego-trx', | ||
python_requires='>=3.8.0', | ||
version=VERSION, | ||
description='Python library used to develop Maltego transforms', | ||
long_description=long_description, | ||
|
@@ -15,15 +16,9 @@ | |
author_email='[email protected]', | ||
license='MIT', | ||
install_requires=[ | ||
'flask>=1', | ||
'six>=1', | ||
'cryptography==3.3.2' # pinned for now as newer versions require setuptools_rust | ||
'flask>=2.2.0', | ||
'cryptography>=39.0.1' | ||
], | ||
extras_require={ | ||
':python_version == "3.6"': [ | ||
'dataclasses', | ||
], | ||
}, | ||
packages=[ | ||
'maltego_trx', | ||
'maltego_trx/template_dir', | ||
|