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

fix ci - pin pip #247

Merged
merged 3 commits into from
Oct 22, 2021
Merged

Conversation

williamcroberts
Copy link
Member

@williamcroberts williamcroberts commented Oct 20, 2021

ci: pin to pip version 21.2.4

There is a bug in pip version 21.3:

Thus pin to version 21.2.4 until version 21.3.1 comes out containing
commit:

Also add import _cff_backend so that non-editable installed builds work.

@williamcroberts williamcroberts changed the title trigger ci no merge add ensure pip Oct 21, 2021
@codecov
Copy link

codecov bot commented Oct 22, 2021

Codecov Report

Merging #247 (8ee92d5) into master (ba90c7f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #247   +/-   ##
=======================================
  Coverage   94.01%   94.02%           
=======================================
  Files          14       14           
  Lines        4297     4299    +2     
  Branches      375      377    +2     
=======================================
+ Hits         4040     4042    +2     
  Misses        191      191           
  Partials       66       66           
Impacted Files Coverage Δ
tpm2_pytss/__init__.py 100.00% <100.00%> (ø)
tpm2_pytss/ESAPI.py 98.32% <0.00%> (+<0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ba90c7f...8ee92d5. Read the comment docs.

William Roberts added 3 commits October 22, 2021 13:42
Fixes this error when using a non-editable install.

Signed-off-by: William Roberts <[email protected]>
There is a bug in pip version 21.3:
  - pypa/pip#10573

Thus pin to version 21.2.4 until version 21.3.1 comes out containing
commit:
  - pypa/pip@4a4b613

Signed-off-by: William Roberts <[email protected]>
Test for
Fix ModuleNotFoundError: No module named '_libtpm2_pytss'

Signed-off-by: William Roberts <[email protected]>
@williamcroberts williamcroberts changed the title add ensure pip fix ci - pin pip Oct 22, 2021
@williamcroberts williamcroberts merged commit bd01fc5 into tpm2-software:master Oct 22, 2021
@williamcroberts williamcroberts deleted the trigger-test branch October 22, 2021 18:58
williamcroberts pushed a commit to williamcroberts/tpm2-pytss that referenced this pull request Oct 28, 2021
As documented in:
  - tpm2-software#247

pip 21.3 was broken with in-place (-e) installs and was fixed in pip
21.3.1. However, the CI is still stuck on pip 21.3 and thus is broken.
When patch 57428, which pins pip to a version lower than 21.3 was
reverted, we need something to get us after 21.3, so update pip.

Signed-off-by: William Roberts <[email protected]>
williamcroberts pushed a commit to williamcroberts/tpm2-pytss that referenced this pull request Oct 28, 2021
As documented in:
  - tpm2-software#247

pip 21.3 was broken with in-place (-e) installs and was fixed in pip
21.3.1. However, the CI is still stuck on pip 21.3 and thus is broken.
When patch 57428, which pins pip to a version lower than 21.3 was
reverted, we need something to get us after 21.3, so update pip.

Signed-off-by: William Roberts <[email protected]>
williamcroberts pushed a commit that referenced this pull request Oct 28, 2021
As documented in:
  - #247

pip 21.3 was broken with in-place (-e) installs and was fixed in pip
21.3.1. However, the CI is still stuck on pip 21.3 and thus is broken.
When patch 57428, which pins pip to a version lower than 21.3 was
reverted, we need something to get us after 21.3, so update pip.

Signed-off-by: William Roberts <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant