Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make pyhcl optional again #1060

Merged
merged 1 commit into from
Sep 16, 2023
Merged

Make pyhcl optional again #1060

merged 1 commit into from
Sep 16, 2023

Conversation

dosisod
Copy link
Contributor

@dosisod dosisod commented Sep 15, 2023

Resolves #1038
See comment #1038 (comment) .

This makes the pyhcl dependency installable via pip install hvac[parser] again like the README suggests.

The pyhcl dependency is also specified as a dev dependency so that it is always installed during testing.

Breaking change

  • Prior to hvac version 1.0.0, you had to install hvac[parser] for pyhcl to be installed with hvac
  • In hvac>=1.0.0,<2, pyhcl was always installed with hvac
  • In hvac>=2.0.0 this package is once again optional and can be installed with hvac[parser]

See hvac#1038 (comment)

This makes the `pyhcl` dependency installable via `pip install hvac[parser]`
again like the README suggests.

The `pyhcl` dependency is also specified as a dev dependency so that it is
always installed during testing.
@dosisod dosisod requested a review from a team as a code owner September 15, 2023 05:47
@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Merging #1060 (6283a71) into main (356b3d8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1060   +/-   ##
=======================================
  Coverage   85.02%   85.02%           
=======================================
  Files          65       65           
  Lines        3139     3139           
=======================================
  Hits         2669     2669           
  Misses        470      470           

@briantist briantist self-assigned this Sep 16, 2023
@briantist briantist added dependencies Pull requests that update a dependency file breaking-change labels Sep 16, 2023
@briantist briantist added this to the 2.0.0 milestone Sep 16, 2023
Copy link
Contributor

@briantist briantist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent! This was on my short list of things to do for v2.0.0, thanks for putting this up!

@briantist
Copy link
Contributor

Also, sorry for the PR spam, I've been in contribution mode the past few days!

haha please do not apologize for that, love to see it, I would usually have tried to look at them sooner, but it's been one of those weeks...

@briantist briantist changed the title Make pyhcl optional Make pyhcl optional again Sep 16, 2023
@briantist briantist merged commit 6837bf0 into hvac:main Sep 16, 2023
33 checks passed
briantist added a commit to briantist/hvac that referenced this pull request Sep 16, 2023
briantist added a commit that referenced this pull request Sep 20, 2023
* bump pytest version

* reorder

* update lockfile for pyhcl re: #1060
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hvac cannot be installed off-architecture
2 participants