- Make the thread local behavior something the caller can enable/disable via a flag during the lock creation, it's on by default.
- Better error handling on Windows.
- Make the lock thread local.
- Use
fchmod
instead ofchmod
to work around bug in PyPy via Anaconda.
- Enhance the robustness of the try/catch block in _soft.py. by :user:`jahrules`.
- Add explicit error check as certain UNIX filesystems do not support flock. by :user:`jahrules`.
- Update os.open to preserve mode= for certain edge cases. by :user:`jahrules`.
- Fix permission issue - by :user:`jahrules`.
- Bug fix for using filelock with threaded programs causing undesired file permissions - by :user:`jahrules`.
- Handle pickle for :class:`filelock.Timeout` :pr:`203` - by :user:`TheMatt2`.
- Add support for explicit file modes for lockfiles :pr:`192` - by :user:`jahrules`.
- Use
time.perf_counter
instead oftime.monotonic
for calculating timeouts.
- Move build backend to
hatchling
:pr:`185` - by :user:`gaborbernat`.
- Fix mypy does not accept
filelock.FileLock
as a valid type
- Bump project dependencies
- Add timeout unit to docstrings
- Support 3.11
- Make the readme documentation point to the index page
- Add ability to return immediately when a lock cannot be obtained
- Fix pylint warning "Abstract class :class:`WindowsFileLock <filelock.WindowsFileLock>` with abstract methods instantiated" :pr:`135` - by :user:`vonschultz`
- Fix pylint warning "Abstract class :class:`UnixFileLock <filelock.UnixFileLock>` with abstract methods instantiated" :pr:`135` - by :user:`vonschultz`
- Use
time.monotonic
instead oftime.time
for calculating timeouts.
- Enable use as context decorator
- Drop support for python
3.6
- Add
stacklevel
to deprecation warnings for argument name change
- Add correct spelling of poll interval parameter for :meth:`acquire <filelock.BaseFileLock.acquire>` method, raise deprecation warning when using the misspelled form :pr:`119` - by :user:`XuehaiPan`.
- Accept path types (like
pathlib.Path
andpathlib.PurePath
) in the constructor forFileLock
objects.
- Add changelog to the documentation :pr:`108` - by :user:`gaborbernat`
- Leave the log level of the
filelock
logger as not set (previously was set to warning) :pr:`108` - by :user:`gaborbernat`
- Drop python 2.7 and 3.5 support, add type hints :pr:`100` - by :user:`gaborbernat`
- Document asyncio support - by :user:`gaborbernat`
- fix typo :pr:`98` - by :user:`jugmac00`
- Improve documentation
- Changed logger name from
filelock._api
tofilelock
:pr:`97` - by :user:`hkennyv`
- Raise when trying to acquire in R/O or missing folder :pr:`96` - by :user:`gaborbernat`
- Move lock acquire/release log from INFO to DEBUG :pr:`95` - by :user:`gaborbernat`
- Fix spelling and remove ignored flake8 checks - by :user:`gaborbernat`
- Split main module :pr:`94` - by :user:`gaborbernat`
- Move test suite to pytest :pr:`93` - by :user:`gaborbernat`
- Update links for new home at tox-dev :pr:`88` - by :user:`hugovk`
- Fixed link to LICENSE file :pr:`63` - by :user:`sharkwouter`
- Adopt tox-dev organization best practices :pr:`87` - by :user:`gaborbernat`
- Ownership moved from :user:`benediktschmitt` to the tox-dev organization (new primary maintainer :user:`gaborbernat`)
- fixed setuptools and twine/warehouse error by making the license only 1 line long
- update version for pypi upload
- fixed python2 setup error
- added test.py module to MANIFEST and made tests available in the setup commands :issue:`48`
- fixed documentation thanks to :user:`AnkurTank` :issue:`49`
- Update Trove classifiers for PyPI
- test: Skip test_del on PyPy since it hangs
- Fix README rendering on PyPI
- :pr:`38` from cottsay/shebang
- updated docs config for older sphinx compatibility
- removed misleading shebang from module
- updated use setuptools
- fixed garbage collection (:issue:`37`)
- fix travis ci badge (use rst not markdown)
- changed travis uri
- clean up
- Fixed unit test for Python 2.7
- Added Travis banner
- Added Travis CI support
- Corrected the prequel reference
- updated README
- updated readme
- updated README (added navigation)
- updated documentation :issue:`22`
- fix the
SoftFileLock
test was influenced by the test forFileLock
- undo
cb1d83d
:issue:`31`
- updated major version number due to :issue:`29` and :issue:`27`
- fixed use proper Python3
reraise
method - Attempting to clean up lock file on Unix after
release
- changed The logger is now acquired when first needed. :issue:`24`
- correct spelling mistake
- added official support for python 2 :issue:`20`
- updated readme
- updated readme :issue:`19`
- added example :pr:`16`
- updated readthedocs url
- updated change order of the examples (:pr:`16`)
- Added logging
- Removed unused imports
- fixed :issue:`14` (moved license and readme file to
MANIFEST
)
- changed unlocking sequence to fix transient test failures
- changed threads in tests so exceptions surface
- added test lock file cleanup
- Don't remove file after releasing lock
- updated docs
- added the new classes to
__all__
- added The
SoftFileLock
is now always tested
- The filelock classes are now always available and have been moved out of the
if msvrct: ... elif fcntl ... else
clauses.
- fixed :issue:`5`
- updated test cases
- updated documentation
- fixed :issue:`2` which has been introduced with the lock counter
- added default timeout (fixes :issue:`2`)
- added new test case, fixed unhandled exception
- fixed a timeout could still be thrown if the lock is already acquired
- fixed :issue:`1`
- added lock counter, added unittest, updated to version 1
- changed filenames
- updated version for pypi
- updated README, LICENSE (changed format from md to rst)
- added MANIFEST to gitignore
- added os independent file lock ; changed setup.py for pypi
- Update README.md
- initial version