-
Notifications
You must be signed in to change notification settings - Fork 327
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
Installation via Poetry v1.4.0 fails #1253
Comments
Did some digging. Poetry 1.4.0 now defaults to using the |
The next release will hopefully include a CLI for verifying wheel |
It looks like the default install procedure doesn't even validate the record; |
Finally managed to reproduce this bug locally. First, build the wheel locally from the repo root:
Then, run this script from the repo root:
|
Cut a PR upstream to fix this: pradyunsg/sphinx-theme-builder#39 |
Thank you. We can also confirm that this also happens with Poetry 1.4.1 and Github CI settings despite the setting installer.modern-installation: false that we read in the poetry issues that is a workaround.
|
@pantelis The next steps are:
|
Interesting, for me this workaround was successful (in a private repo). Are you sure the setting was successfully propagated through the |
You are right - it wasnt. The correct workflow configuration should have been as shown below. With this configuration the site is successfully built. #----------------------------------------------
# ----- install & configure poetry -----
#----------------------------------------------
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.4.1
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- uses: snok/install-poetry@v1
- run: poetry config installer.modern-installation false |
workaround for pydata/pydata-sphinx-theme#1253
workaround for pydata/pydata-sphinx-theme#1253
workaround for pydata/pydata-sphinx-theme#1253
This should be fixed in 1.3.2. 🎉 |
Oh wait, 1.3.2 isn't published on PyPi yet 😂 |
0.13.2 including your fix is out, is it solving this issue ? |
@12rambau Yes, I have locally verified that this issue is fixed in 1.3.2. 🎉 Was a little too quick on the draw earlier 😅 |
Remove workaround for `ansys-sphinx-theme` not being installable with Poetry `1.4.0`, see pydata/pydata-sphinx-theme#1253.
Description
The 1.4.0 release of Poetry introduced a controversial breaking change that changes the installer package Poetry uses. The new installer flat-out rejects installation of certain wheels with malformed metadata in
RECORD
. One of these wheels ispydata_sphinx_theme
. This is the output frompoetry install -E all
:Steps to reproduce
First, install the latest version of Poetry. Then, in your terminal:
The text was updated successfully, but these errors were encountered: