Skip to content

Stop disabling new poetry installer#5838

Merged
jeffwidman merged 1 commit intomainfrom
remove-poetry-thread-safety-issue-workaround
Oct 7, 2022
Merged

Stop disabling new poetry installer#5838
jeffwidman merged 1 commit intomainfrom
remove-poetry-thread-safety-issue-workaround

Conversation

@jeffwidman
Copy link
Copy Markdown
Member

@jeffwidman jeffwidman commented Oct 6, 2022

@jeffwidman jeffwidman requested a review from a team as a code owner October 6, 2022 05:37
@jeffwidman jeffwidman force-pushed the remove-poetry-thread-safety-issue-workaround branch from e03af1e to 45895ec Compare October 6, 2022 05:38
@jeffwidman jeffwidman changed the title Remove workaround that's now ignored Stop disabling new poetry installer Oct 6, 2022
@jeffwidman jeffwidman force-pushed the remove-poetry-thread-safety-issue-workaround branch from 45895ec to d432774 Compare October 6, 2022 05:39
This was added in
#3459 to workaround
the underlying issue of
python-poetry/poetry#3010.

However, `poetry` `1.2` fixed the underlying issue, and we are now on `poetry` `1.2.1` so we can remove this workaround.

See also:
* python-poetry/poetry#3010 (comment)
* python-poetry/poetry#3010 (comment)
* python-poetry/poetry#3010 (comment)
* #5492
@jeffwidman jeffwidman force-pushed the remove-poetry-thread-safety-issue-workaround branch from d432774 to 9e50899 Compare October 7, 2022 01:35
@jeffwidman jeffwidman merged commit c8a843a into main Oct 7, 2022
@jeffwidman jeffwidman deleted the remove-poetry-thread-safety-issue-workaround branch October 7, 2022 04:52
@pavera pavera mentioned this pull request Oct 31, 2022
jeffwidman added a commit that referenced this pull request Nov 22, 2022
The associated ticket on Poetry
(python-poetry/poetry#3010) was closed because
the underlying triggers were mostly resolved in `poetry` `1.2` using the
new installer. In particular, see
python-poetry/poetry#3010 (comment).

We flipped to the new installer in
#5838, so this skip
should no longer be necessary.

This reverts commit ceb5700.

Additionally, this flips the fixture from a Python 2 to a Python 3
fixture. We dropped support for Python 2 a while ago, but didn't notice
this test needed updating because it was skipped.

Another test still needs a python 2 fixture to ensure that lockfiles
still pinned to python 2 throw the correct exception.

So copied the existing fixture, updated it to specify a python 3
version, and then regenerated the lockfile using:
```
PYENV_VERSION=3.10.7 pyenv exec poetry lock --no-update
```
jeffwidman added a commit that referenced this pull request Nov 23, 2022
The associated ticket on Poetry
(python-poetry/poetry#3010) was closed because
the underlying triggers were mostly resolved in `poetry` `1.2` using the
new installer. In particular, see
python-poetry/poetry#3010 (comment).

We flipped to the new installer in
#5838, so this skip
should no longer be necessary.

This reverts commit ceb5700.

Additionally, this flips the fixture from a Python 2 to a Python 3
fixture. We dropped support for Python 2 a while ago, but didn't notice
this test needed updating because it was skipped.

Another test still needs a python 2 fixture to ensure that lockfiles
still pinned to python 2 throw the correct exception.

So copied the existing fixture, updated it to specify a python 3
version, and then regenerated the lockfile using:
```
PYENV_VERSION=3.10.7 pyenv exec poetry lock --no-update
```
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