Hi, Overdue upgrade. I didn't test it too much yet, but I needed a feature of newever version, so I updated and on that one project it works.
Not sure how I can expose in a concise way the changelog :/ https://github.com/hvac/hvac/releases https://github.com/hvac/hvac/blob/develop/CHANGELOG.md https://github.com/hvac/hvac/compare/v0.11.2...v1.1.0 Diff at the bottom. Should I avoid emoji from upstream on the mailing list? # Changelog ## 1.1.1 ### 🐛 Bug Fixes - fix wrapped response for `auth.token.create` ([GH-966](https://github.com/hvac/hvac/pull/966)) ## 1.1.0 ### 📢 Deprecations / Announcements - [`v3.0.0`](https://github.com/hvac/hvac/milestone/36) - The `certificate` parameter for `create_ca_certificate_role` will stop accepting file paths ([GH-914](https://github.com/hvac/hvac/pull/914)) - Please note that `hvac` intends to drop support for EoL Python versions ([GH-877](https://github.com/hvac/hvac/pull/877)) - [`v3.0.0`](https://github.com/hvac/hvac/milestone/36) - The default value of `raise_on_deleted_version` will change from `True` to `False` ([GH-955](https://github.com/hvac/hvac/issues/955)) - Allow for reading deleted secret versions (kv2) without an exception ([GH-907](https://github.com/hvac/hvac/pull/907)) ### 🚀 Features - Allow for reading deleted secret versions (kv2) without an exception ([GH-907](https://github.com/hvac/hvac/pull/907)) - AWS secret engine - fix `generate_credentials` for STS endpoint ([GH-934](https://github.com/hvac/hvac/pull/934)) - Add support for custom metadata in kv2 engine ([GH-805](https://github.com/hvac/hvac/pull/805)) - Add new field `auto_rotate_period` on transit key management ([GH-903](https://github.com/hvac/hvac/pull/903)) ### 🐛 Bug Fixes - Allow for reading deleted secret versions (kv2) without an exception ([GH-907](https://github.com/hvac/hvac/pull/907)) - fix vault client certificates loaded from envirnoment variables ([GH-943](https://github.com/hvac/hvac/pull/943)) - approle - fix metadata for generated secret IDs, re-add `wrap_ttl` ([GH-782](https://github.com/hvac/hvac/pull/782)) - AWS secret engine - fix `generate_credentials` for STS endpoint ([GH-934](https://github.com/hvac/hvac/pull/934)) - Propagate client's adapter to API categories ([GH-939](https://github.com/hvac/hvac/pull/939)) - don't cache on py3.6 windows combo ([GH-916](https://github.com/hvac/hvac/pull/916)) - Cert: Fix role certificate parameter ([GH-886](https://github.com/hvac/hvac/pull/886)) ### 📚 Documentation - add documentation for retries ([GH-948](https://github.com/hvac/hvac/pull/948)) - docs - sphinx - fail on warnings ([GH-949](https://github.com/hvac/hvac/pull/949)) - Create userpass.rst ([GH-775](https://github.com/hvac/hvac/pull/775)) - doc: update reference to removed method ([GH-942](https://github.com/hvac/hvac/pull/942)) - Documentation updates for use with a private CA ([GH-774](https://github.com/hvac/hvac/pull/774)) - Update Azure guideline with proper client variable ([GH-935](https://github.com/hvac/hvac/pull/935)) - Update wrapping.rst - example for unauthenticated unwrap ([GH-789](https://github.com/hvac/hvac/pull/789)) - Fix typo in the AWS auth method docs ([GH-911](https://github.com/hvac/hvac/pull/911)) - Replace Azure docs occurence to Kubernetes ([GH-904](https://github.com/hvac/hvac/pull/904)) ### 🧰 Miscellaneous - Remove deprecated python syntax ([GH-909](https://github.com/hvac/hvac/pull/909)) ## 1.0.2 - Update dependencies. GH-897 ## 1.0.1 ### 🐛 Bug Fixes - Add `role_name` parameter to `auth.token.create_orphan`. GH-891 - docs: Add RTD config. GH-894 ### 📚 Documentation - docs: Add RTD config. GH-894 ## 1.0.0 - CI: Update Vault versions for integration tests. GH-884 - Tests: Handle 204 response in jwt test. GH-881 - Tests: Fix kubernetes integration test. GH-880 - Tests: Fix broken oidc test. GH-879 - Tests: Fix Azure test failure. GH-878 - Tests: Handle different response due to upstream change. GH-876 - Tests: Fix Github auth tests. GH-875 - Test utils: Fix OTP length for Vault >=1.10.0. GH-872 - Test utils: Migrate to packaging module's Version. GH-871 - Integration Tests: Fix GCP test error. GH-870 - build-test: Fix windows job. GH-845 - build-test: Add test. GH-844 - Bump version: 0.11.2 → 1.0.0. GH-829 ### 💥 Breaking Changes - Legacy MFA: Move mfa authentication method to legacy MFA method. GH-883 - Remove deprecated methods. GH-868 - Remove redundant code for Python <= 3.5. GH-822 - Drop Python 2 and EOL Python 3 versions. GH-819 ### 🚀 Features - Token: Add create orphaned token method. GH-869 - Allow configuring the possible salt lengths for RSA PSS signatures. GH-846 - ssh: Add secret engine. GH-811 ### 🐛 Bug Fixes - setup.py: Add encoding for long_description. GH-843 - Don't override user warning filters. GH-818 ### 📚 Documentation - Migrate to Poetry. GH-854 - docs(auth-methods): update kubernetes. GH-837 - README: Remove help wanted note. GH-848 - Update kubernetes authentication example. GH-827 ### 🧰 Miscellaneous - .gitignore: Add vscode config directory. GH-867 - Add stock version-resolver cfg for release-drafter. GH-836 - Release drafter tweaks. GH-835 - Add commitish to release-drafter.yml. GH-832 - Bump dependencies. GH-826 - Readding 3.6 support. GH-823 - Add support for Python 3.10. GH-821 - Fix CI. GH-812 ## 0.11.2 (September 23rd, 2021) Breakfix release to revert some unintended post-1.0 requirements changes. ### 🐛 Bug Fixes - Revert `six` & `requests` Requirements Changes. GH-768 ## 0.11.1 (September 22nd, 2021) ... Index: Makefile =================================================================== RCS file: /cvs/ports/security/py-hvac/Makefile,v retrieving revision 1.4 diff -u -p -u -r1.4 Makefile --- Makefile 25 Nov 2022 19:30:37 -0000 1.4 +++ Makefile 19 May 2023 10:48:48 -0000 @@ -1,9 +1,8 @@ COMMENT = Python client library for Hashicorp Vault -MODPY_EGG_VERSION = 0.11.2 +MODPY_EGG_VERSION = 1.1.0 DISTNAME = hvac-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME} -REVISION = 1 MAINTAINER = Mikolaj Kucharski <miko...@kucharski.name> @@ -15,7 +14,7 @@ HOMEPAGE = https://github.com/hvac/hvac PERMIT_PACKAGE = Yes MODULES = lang/python -MODPY_PYBUILD = setuptools +MODPY_PYBUILD = poetry-core MODPY_PI = Yes RUN_DEPENDS = devel/py-six${MODPY_FLAVOR} \ Index: distinfo =================================================================== RCS file: /cvs/ports/security/py-hvac/distinfo,v retrieving revision 1.1.1.1 diff -u -p -u -r1.1.1.1 distinfo --- distinfo 20 Nov 2021 08:22:34 -0000 1.1.1.1 +++ distinfo 19 May 2023 10:48:48 -0000 @@ -1,2 +1,2 @@ -SHA256 (hvac-0.11.2.tar.gz) = +QXFnTLYjT9nVx/lqKeN5GWeBHmK2AneQ59mckfRNiY= -SIZE (hvac-0.11.2.tar.gz) = 113064 +SHA256 (hvac-1.1.0.tar.gz) = B53KWIVt7mZG7VovIoOAnBbS3u3eHp6WFbKRAySkuWk= +SIZE (hvac-1.1.0.tar.gz) = 106777 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/security/py-hvac/pkg/PLIST,v retrieving revision 1.3 diff -u -p -u -r1.3 PLIST --- pkg/PLIST 25 Nov 2022 19:30:37 -0000 1.3 +++ pkg/PLIST 19 May 2023 10:48:48 -0000 @@ -4,7 +4,6 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/hvac-${MODPY_EGG_VERSION}.dist-info/METADATA lib/python${MODPY_VERSION}/site-packages/hvac-${MODPY_EGG_VERSION}.dist-info/RECORD lib/python${MODPY_VERSION}/site-packages/hvac-${MODPY_EGG_VERSION}.dist-info/WHEEL -lib/python${MODPY_VERSION}/site-packages/hvac-${MODPY_EGG_VERSION}.dist-info/top_level.txt lib/python${MODPY_VERSION}/site-packages/hvac/__init__.py ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/hvac/${MODPY_PYCACHE}/ lib/python${MODPY_VERSION}/site-packages/hvac/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION} @@ -50,6 +49,8 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/hvac/api/auth_methods/${MODPY_PYCACHE}kubernetes.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/hvac/api/auth_methods/${MODPY_PYCACHE}ldap.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION} lib/python${MODPY_VERSION}/site-packages/hvac/api/auth_methods/${MODPY_PYCACHE}ldap.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/hvac/api/auth_methods/${MODPY_PYCACHE}legacy_mfa.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION} +lib/python${MODPY_VERSION}/site-packages/hvac/api/auth_methods/${MODPY_PYCACHE}legacy_mfa.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/hvac/api/auth_methods/${MODPY_PYCACHE}mfa.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION} lib/python${MODPY_VERSION}/site-packages/hvac/api/auth_methods/${MODPY_PYCACHE}mfa.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/hvac/api/auth_methods/${MODPY_PYCACHE}oidc.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION} @@ -71,6 +72,7 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/hvac/api/auth_methods/jwt.py lib/python${MODPY_VERSION}/site-packages/hvac/api/auth_methods/kubernetes.py lib/python${MODPY_VERSION}/site-packages/hvac/api/auth_methods/ldap.py +lib/python${MODPY_VERSION}/site-packages/hvac/api/auth_methods/legacy_mfa.py lib/python${MODPY_VERSION}/site-packages/hvac/api/auth_methods/mfa.py lib/python${MODPY_VERSION}/site-packages/hvac/api/auth_methods/oidc.py lib/python${MODPY_VERSION}/site-packages/hvac/api/auth_methods/okta.py @@ -106,6 +108,8 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/hvac/api/secrets_engines/${MODPY_PYCACHE}pki.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/hvac/api/secrets_engines/${MODPY_PYCACHE}rabbitmq.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION} lib/python${MODPY_VERSION}/site-packages/hvac/api/secrets_engines/${MODPY_PYCACHE}rabbitmq.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/hvac/api/secrets_engines/${MODPY_PYCACHE}ssh.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION} +lib/python${MODPY_VERSION}/site-packages/hvac/api/secrets_engines/${MODPY_PYCACHE}ssh.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/hvac/api/secrets_engines/${MODPY_PYCACHE}transform.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION} lib/python${MODPY_VERSION}/site-packages/hvac/api/secrets_engines/${MODPY_PYCACHE}transform.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/hvac/api/secrets_engines/${MODPY_PYCACHE}transit.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION} @@ -122,6 +126,7 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/hvac/api/secrets_engines/kv_v2.py lib/python${MODPY_VERSION}/site-packages/hvac/api/secrets_engines/pki.py lib/python${MODPY_VERSION}/site-packages/hvac/api/secrets_engines/rabbitmq.py +lib/python${MODPY_VERSION}/site-packages/hvac/api/secrets_engines/ssh.py lib/python${MODPY_VERSION}/site-packages/hvac/api/secrets_engines/transform.py lib/python${MODPY_VERSION}/site-packages/hvac/api/secrets_engines/transit.py lib/python${MODPY_VERSION}/site-packages/hvac/api/system_backend/ -- Regards, Mikolaj