-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
'_CountedFileLock' object has no attribute 'thread_safe' #337
Comments
Happening to me too. Stacktrace:
|
cc @ethanbb |
I just encountered this using nox on a project:
Started whenever 3.15 hit pypi. |
@gaborbernat seems like an immediate yank would be good. |
happening to me as well, all of our builds in CI stopped building with this error -> the I've been seeing it on python 3.11.9 |
Also encountering when trying to spin up a venv via poetry:
|
Below traceback running
|
Thanks @gaborbernat! |
Any way to force poetry to use filelock 3.14.0? |
Now that |
@conradogarciaberrotaran See above, as I already tried that path. All is well now on my end as well! |
Re-running fixed everything! I was worried our cache would still use 3.15.0 but it's not the case. |
Just wanted to let you know that v3.15 still exists on |
I do not control conda, so that will be fixed by someone else. |
This issue happens again with version 3.15.2 in my CI. Context: creating a virtualenv with poetry by running poetry install. Python 3.12. Full stack below. Should I open a new issue ?
|
Your error is caused by filelock 3.15.2 release that already is yanked from pypi https://pypi.org/project/filelock/#history |
Yes, something strange is happening in github or Poetry or something. Somehow in the last hour its started picking up the yanked version of filelock. :( I know there is nothing the filelock maintainers can do about it, but this is the only context to discuss it which Google will turn up for people. |
Poetry has not had a release. virtualenv has not had a release. I don't know what project is picking up the yanked version of filelock. |
Problematic version is released 34 minutes ago, and yanked few minutes later |
Fyi: I also experienced this issue on the (non-yanked) release 3.15.1. Downgrading to 3.14.0 helped. |
We also had breakages due to version 3.15.2. Downgrading to 3.14.0 fixed the problem for us too. |
Why hasn't 3.15.1 been yanked? |
Can someone post an error they got from 3.15.1? I don't believe it could be the same problem....changes in the last release (3.15.2) clearly created the new issue, which is different from the one in 3.15.0. |
It's a different error, so probably yes |
Yes looks like your code is still using 3.15.2. The code producing the error didn't exist when 3.15.1 was released. |
You are correct, I am on a mirrored pypi that is still pulling in 3.15.2 to my poetry environments. |
@hanssl This isn't like 3.15.3. |
Maybe I am missing something? I deleted my poetry venv, created a new one, and ran poetry install (verified the 'Installing filelock (3.15.3) line). I then run 'docker build...' from that poetry env and I got the error above. |
@hanssl You might have an old/broken Note, this kind of issue is why a while ago I opened So that it would not be possible for Poetry users to install Poetry with dependencies it hadn't tested/validated in its CI. |
This (via the 3.15.0 release) may be responsible for breaking virtualenv. See pypa/virtualenv#2735.
Originally posted by @tamird in #334 (comment)
The text was updated successfully, but these errors were encountered: