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

downgrade to pre-poetry 1.2 build system #54

Merged
merged 2 commits into from
Oct 3, 2022
Merged

Conversation

kafonek
Copy link
Contributor

@kafonek kafonek commented Oct 1, 2022

I was having issues building PA's docker container, probably related to using Poetry 1.1.11 and installing Sending by git rather than on pypi.

> [6/9] RUN poetry install --no-interaction --no-ansi   && rm -rf "/var/cache/pypoetry"   && python -m pip install --no-cache-dir tox==3.24.5:                                                                                          
#10 1.139 Skipping virtualenv creation, as specified in config file.                                                                                                                                                                     
#10 3.506 Installing dependencies from lock file                                                                                                                                                                                         
#10 6.786                                                                                                                                                                                                                                
#10 6.786   RuntimeError                                                                                                                                                                                                                 
#10 6.786 
#10 6.786   The Poetry configuration is invalid:
#10 6.786     - Additional properties are not allowed ('group' was unexpected)
#10 6.786   
#10 6.787 
#10 6.787   at /etc/poetry/venv/lib/python3.10/site-packages/poetry/core/factory.py:43 in create_poetry
#10 6.803        39│             message = ""
#10 6.803        40│             for error in check_result["errors"]:
#10 6.803        41│                 message += "  - {}\n".format(error)
#10 6.803        42│ 
#10 6.804     →  43│             raise RuntimeError("The Poetry configuration is invalid:\n" + message)
#10 6.804        44│ 
#10 6.804        45│         # Load package
#10 6.804        46│         name = local_config["name"]
#10 6.805        47│         version = local_config["version"]
------
executor failed running [/bin/sh -c poetry install --no-interaction --no-ansi   && rm -rf "$POETRY_CACHE_DIR"   && python -m pip install --no-cache-dir tox==3.24.5]: exit code: 1

Downgrading the Sending build system to pre poetry 1.2 seems to fix it.

@kafonek
Copy link
Contributor Author

kafonek commented Oct 1, 2022

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@kafonek kafonek marked this pull request as ready for review October 1, 2022 16:59
@kafonek kafonek requested a review from a team October 1, 2022 23:05
@kafonek kafonek merged commit 20dd137 into main Oct 3, 2022
@kafonek kafonek deleted the mrk/downgrade-poetry branch October 3, 2022 18:42
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.

2 participants