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

convert_script_files does not require script to exist #710

Merged

Conversation

weisslj
Copy link
Contributor

@weisslj weisslj commented Mar 15, 2024

Scripts can be generated during build. But poetry-core insists that scripts exist ahead of time.

Resolves: python-poetry/poetry#8856

This is a new merge request based on #699, with suggestion from @radoering applied, @dimbleby encouraged me to take over.

  • Added tests for changed code.
  • Updated documentation for changed code. Not necessary I think

cc @bavalpey

Copy link
Member

@radoering radoering left a comment

Choose a reason for hiding this comment

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

LGTM except for a small detail regarding the test.

tests/masonry/builders/test_wheel.py Show resolved Hide resolved
Copy link

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@radoering radoering enabled auto-merge (squash) March 17, 2024 08:55
@radoering radoering merged commit dc00261 into python-poetry:main Mar 17, 2024
19 checks passed
@weisslj weisslj deleted the scripts-generated-during-build-2 branch March 17, 2024 11:46
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.

Execute "build" before "scripts"
2 participants