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 poetry build remove older versions of packages in the dist directory #1329

Closed
2 tasks done
dclong opened this issue Aug 25, 2019 · 5 comments · Fixed by #9067
Closed
2 tasks done

Make poetry build remove older versions of packages in the dist directory #1329

dclong opened this issue Aug 25, 2019 · 5 comments · Fixed by #9067
Labels
kind/feature Feature requests/implementations

Comments

@dclong
Copy link

dclong commented Aug 25, 2019

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

Make poetry build remove older versions of packages (built before) in the dist directory. For example, support the current version of the project/package is 0.4.3 and there is a previous built package with the version 0.4.2. poetry build should remove the previous built package with version 0.4.2 after generating the package with version 0.4.3.

@brycedrennan brycedrennan added the kind/feature Feature requests/implementations label Aug 25, 2019
@stale
Copy link

stale bot commented Nov 13, 2019

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@wagnerluis1982
Copy link
Contributor

wagnerluis1982 commented Jan 19, 2023

I feel the request is valid, but it shouldn't be set as default operation.

I think a new argument would be the best idea here.

Something like the following would make sense...

$ poetry build --clean

@LukeSavefrogs
Copy link

I think a new argument would be the best idea here.

Something like the following would make sense...

$ poetry build --clean

I agree, that would be the best.

abn added a commit to abn/poetry that referenced this issue Feb 29, 2024
abn added a commit to abn/poetry that referenced this issue Feb 29, 2024
abn added a commit to abn/poetry that referenced this issue Feb 29, 2024
@abn abn closed this as completed in #9067 Feb 29, 2024
abn added a commit that referenced this issue Feb 29, 2024
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Feature requests/implementations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants