Skip to content

Commit

Permalink
Update filelock requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlero committed Feb 19, 2024
1 parent 26c9d06 commit d44cce7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions electrolytes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,6 @@ def _save_user_constituents(self) -> None:

def __enter__(self) -> None:
if not self._user_constituents_lock.is_locked:
Path(self._user_constituents_lock.lock_file).parent.mkdir(
parents=True, exist_ok=True
) # https://github.com/tox-dev/py-filelock/issues/176
self._invalidate_user_constituents()
self._user_constituents_lock.acquire()

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ classifiers = [
dependencies = [
"typer>=0.9.0,<0.10",
"pydantic>=2.0.3,<3",
"filelock==3.*",
"filelock>=3.12.3,<4",
]

dynamic = ["version"]
Expand Down

0 comments on commit d44cce7

Please sign in to comment.