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

AttributeError: '_CountedFileLock' object has no attribute 'thread_safe' #336

Closed
JakeUrban opened this issue Jun 12, 2024 · 2 comments
Closed

Comments

@JakeUrban
Copy link

I'm trying to run poetry install and I'm getting the following stack trace:

Run poetry install
  
Creating virtualenv django-polaris-sWbKydhB-py3.10 in /home/runner/.cache/pypoetry/virtualenvs
object.__init__() takes exactly one argument (the instance to initialize)
Exception ignored in: <function BaseFileLock.__del__ at 0x7ffad06[4](https://github.com/stellar/django-polaris/actions/runs/9487616503/job/26144651170?pr=721#step:5:4)e050>
Traceback (most recent call last):
  File "/usr/local/poetry/lib/python3.10/site-packages/filelock/_api.py", line 365, in __del__
    self.release(force=True)
  File "/usr/local/poetry/lib/python3.10/site-packages/virtualenv/util/lock.py", line 3[4](https://github.com/stellar/django-polaris/actions/runs/9487616503/job/26144651170?pr=721#step:5:5), in release
    with self.thread_safe:
AttributeError: '_CountedFileLock' object has no attribute 'thread_safe'
@JakeUrban
Copy link
Author

I suspect this bug arose in the very-recent 3.15 release

@sterliakov
Copy link

Same as #337.

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

No branches or pull requests

3 participants