-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
after poetry 1.2.0 release, poetry 1.1 installation is broken when it is installed with pip install #6300
Comments
You are on an ancient version of Poetry, which had an unbounded Versions |
We are in the middle of an upgrade to 1.2.0, but we have about 200 of
Thanks for the info. Can you please confirm that replacing
with
won't require the re-creation of the
Interesting, our builds seemed to have been working OK. |
I'm sorry to hear that... Incoming deprecations and important fixes are announced using all the channels we have (Github releases, Discord, our blog/website, the code itself) -- do you have any feedback on how we could ensure you are aware of changes to Poetry that may require action from you?
Poetry 1.2 and newer versions of Poetry 1.1 should be able to fully understand any lock file from 1.1.4, though there may be changes to case, punctuation, order, etc that make them not deterministic across versions.
You will be able to install, but |
Our builds broke this morning as well, I believe related to a similar issue that @sryabkov described. We were able to fix it with the help of this thread and from reading poetry outputs. What fixed it for us was changing our build commands from something like this:
to this:
We needed to upgrade to version It was partially a configuration error on our end, I hope this information is useful for anyone else out there. |
Two suggestions -- don't rename The second one is if you want a global install of Poetry, just do that! The new installer is intentionally magic-free -- it really just sets up a virtual environment in a convenient way for simple pipeline/single developer use. Instead try this:
|
Good to know, thanks! We will try that out :) |
How about adding a special section to CHANGELOG.md for every release? |
The changelog is meant to be the canonical project history and to focus on technical changes only. Top-level summary items usually end up in Github releases, and more in-depth explanations in the release announcements... If you think it would be useful to have detailed release notes somewhere in the repo, what makes files in the repository more visible/accessible than Github Releases or the blog/website? |
@neersighted I am starting to wonder if the important part is not where but what is published... Sorry for the long post. Before I start, are there release notes for 1.2.0? I mean besides what accompanies GitHub releases (e.g. https://github.com/python-poetry/poetry/releases/tag/1.2.0)? Maybe I missed something... To declare my biases upfront, I assume that:
To give more context of where I am coming from, we recently did some work to get us to poetry 1.2.0, and we started with 1.2.0b3. We ran into a couple of roadblocks that weren't documented in release notes. We had to experiment and dig through the issues in the repo to find answers. We wrote an internal article about them to help everyone upgrade. It is an internal upgrade guide. Here are the main issues:
I understand that the distinction between the product issue and the issue with using the product is a subtle one, and as a maintainer, you have to draw the line somewhere. 1.2.0 is a big release, which was long time coming (if you look from the perspective of a regular user who doesn't mess with pre-releases) and I think the poetry project would benefit from making the transition as smooth as possible. So, arguably it might have been justified for someone to comb the repo for issues and put up a public upgrade guide warning users about issues that can hinder or slow down their upgrade process. For example, I'd argue that a lot of people are going to run into issue 1 above during the upgrade process if they are temporarily mixing poetry 1.1 and 1.2 and that they would have appreciated the heads up. I also want to bring up an important information bit that you mentioned in this thread that I didn't see anywhere else:
Shouldn't have this been front and center in the poetry 1.1.15 release notes? To me, this means "upgrade immediately", but there is nothing in the release notes. To sum up, to give you and all other poetry maintainers credit, all the information that is required is available if you search the issues. It could be made easier to find, but that's really a separate aspect of maintaining the product. For 1.2.0, I'd recommend an "Upgrading to 1.2.0" section in the documentation. For other important info, maybe add a "Known Issues" section to the documentation website? |
@sryabkov The canonical guide to upgrading is the release announcement at https://python-poetry.org/blog/announcing-poetry-1.2.0/ -- PRs against that post are welcome. Regarding 1.1.15, note the version 1.1.14 contains the fix and it is documented in the changelog, the release notes and in a release announcement. Certainly more documentation would be wonderful -- we are doing our best to keep on top of it, and 1.2 being a massive overdue release has made this especially painful. That being said, I'm not sure that fundamentally we can do anything to communicate changes more widely based on what has been discussed here -- the takeaway seems to be that we should instead focus on the quality and centralization of information. |
@neersighted FYI, please see python-poetry/website#79 |
upstream: python-poetry/poetry#6300 Signed-off-by: pwoolvett <[email protected]>
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. |
Issue
As part of poetry 1.2.0 release, poetry-core 1.1.0 has been released as well. It seems to be incompatible with poetry 1.1.
In our
Dockerfile
s, we do thisAfter poetry 1.2.0 release, we are getting the following error:
The problem is caused by this command:
Our fix was locking poetry-core to version 1.0.8:
I don't know if this could be considered a bug, but it might be a missed test scenario or a missing warning in documentation. Regardless of the status, I wanted to create this issue in case anybody else has a similar problem.
The text was updated successfully, but these errors were encountered: