-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
area/showRelated to `poetry show`Related to `poetry show`area/vcsRelated to support for VCS dependencies (Git and Dulwich)Related to support for VCS dependencies (Git and Dulwich)kind/bugSomething isn't working as expectedSomething isn't working as expected
Description
- Poetry version: 1.4.2
- Python version: 3.11.2
- OS version and name: Windows 10
- pyproject.toml:
- [🚀] I am on the latest stable Poetry version, installed using a recommended method.
- [🚀] I have searched the issues of this repo and believe that this is not a duplicate.
- [🚀] I have consulted the FAQ and blog for any relevant entries or release notes.
- [🚀] If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption) and have included the output below.
Issue
👉 poetry show --outdated
(b'C:\\Users\\amongus\\AppData\\Local\\pypoetry\\Cache\\src\\pylint-module-boundaries\\.git\\refs\\remotes\\origin\\fix-multiple-rules', b'C:\\Users\\amongus\\AppData\\Local\\pypoetry\\Cache\\src\\pylint-module-boundaries\\.git\\refs\\remotes\\origin\\fix-multiple-rules.lock')
👉 poetry show --outdated -v
Using virtualenv: C:\Users\amongus\AppData\Local\pypoetry\Cache\virtualenvs\myhr-a5tggzGn-py3.11
FileExistsError
[Errno 17] File exists: b'C:\\Users\\amongus\\AppData\\Local\\pypoetry\\Cache\\src\\pylint-module-boundaries\\.git\\refs\\remotes\\origin\\fix-multiple-rules.lock'
at ~\AppData\Roaming\pypoetry\venv\Lib\site-packages\dulwich\file.py:147 in __init__
143│ self._lockfilename = self._filename + b".lock"
144│ else:
145│ self._lockfilename = self._filename + ".lock"
146│ try:
→ 147│ fd = os.open(
148│ self._lockfilename,
149│ os.O_RDWR | os.O_CREAT | os.O_EXCL | getattr(os, "O_BINARY", 0),
150│ mask,
151│ )
The following error occurred when trying to handle this error:
FileLocked
(b'C:\\Users\\amongus\\AppData\\Local\\pypoetry\\Cache\\src\\pylint-module-boundaries\\.git\\refs\\remotes\\origin\\fix-multiple-rules', b'C:\\Users\\amongus\\AppData\\Local\\pypoetry\\Cache\\src\\pylint-module-boundaries\\.git\\refs\\remotes\\origin\\fix-multiple-rules.lock')
at ~\AppData\Roaming\pypoetry\venv\Lib\site-packages\dulwich\file.py:153 in __init__
149│ os.O_RDWR | os.O_CREAT | os.O_EXCL | getattr(os, "O_BINARY", 0),
150│ mask,
151│ )
152│ except FileExistsError as exc:
→ 153│ raise FileLocked(filename, self._lockfilename) from exc
154│ self._file = os.fdopen(fd, mode, bufsize)
155│ self._closed = False
156│
157│ for method in self.PROXY_METHODS:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/showRelated to `poetry show`Related to `poetry show`area/vcsRelated to support for VCS dependencies (Git and Dulwich)Related to support for VCS dependencies (Git and Dulwich)kind/bugSomething isn't working as expectedSomething isn't working as expected