From dfe3d7cf1f3ec67290d809b0b2e8f83b7fcd225d Mon Sep 17 00:00:00 2001 From: Renata Vaderna Date: Wed, 20 Oct 2021 19:39:52 +0200 Subject: [PATCH] Release/0.13.0 (#187) * Pin openpyssl and cryptography * Run CI on every push * Dependencies fix * Formatting * Updated installation step in actions config --- .github/workflows/ci.yml | 7 ++----- CHANGELOG.md | 17 ++++++++++++++++- setup.py | 8 ++++---- 3 files changed, 22 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5dd265cb..1e1929c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,4 @@ -on: - pull_request: - branches: [master] +on: [push, pull_request] jobs: build: @@ -16,8 +14,7 @@ jobs: run: | sudo apt-get install libhdf5-serial-dev zlib1g-dev libatlas-base-dev lcov swig3.0 libpcsclite-dev mkdir -p ~/bin/ && ln -s /usr/bin/swig3.0 ~/bin/swig && export PATH=~/bin/:$PATH - pip install -e .[ci] # Install with CI deps - pip install -e .[yubikey] + pip install -e .[ci,test,yubikey] # Install with CI deps - name: Run pre-commit and test with pytest run: | pre-commit run --all-files diff --git a/CHANGELOG.md b/CHANGELOG.md index 671caa65..dae29d9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,8 +19,23 @@ and this project adheres to [Semantic Versioning][semver]. ### Fixed +## [0.13.0] - 10/20/2021 -## [0.12.0] - 09/29/2021 +### Added + + +### Changed + +- Pin cryptography and pyOpenSSL versions to keep compatibility with yubikey-manager 3.0.0 ([184]) + + +### Fixed + + +[183] https://github.com/openlawlibrary/taf/pull/184 + + +## [0.12.0] - 10/18/2021 ### Added diff --git a/setup.py b/setup.py index 66deb7d9..36707b04 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import find_packages, setup PACKAGE_NAME = "taf" -VERSION = "0.12.0" +VERSION = "0.13.0" AUTHOR = "Open Law Library" AUTHOR_EMAIL = "info@openlawlib.org" DESCRIPTION = "Implementation of archival authentication" @@ -38,7 +38,7 @@ def finalize_options(self): dev_require = ["bandit>=1.6.0", "black>=19.3b0", "pre-commit>=1.18.3"] -tests_require = ["pytest==4.5.0", "freezegun==0.3.15"] +tests_require = ["pytest==4.5.0", "freezegun==0.3.15", "jsonschema==3.2.0"] yubikey_require = ["yubikey-manager==3.0.0"] @@ -60,10 +60,10 @@ def finalize_options(self): install_requires=[ "click==7.1", "colorama>=0.3.9", - "cryptography>=3.3", "oll-tuf==0.11.2.dev9", "loguru==0.4.0", - "jsonschema==3.2.0", + "cryptography==3.2.1", + "pyOpenSSL==20.0.1", ], extras_require={ "ci": ci_require,