-
Notifications
You must be signed in to change notification settings - Fork 656
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
Transfer of fasteners
dependency to filelock
#4800
base: develop
Are you sure you want to change the base?
Conversation
changes fasteners to filelock dependency
changes fasteners to filelock dependency
changes in the action the fasteners dependency to filelock
adjusted input fasteners to filelock
changed fasteners to filelock
changed fasteners to filelock
changed fasteners to filelock
fasteners
dependency to fielock
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #4800 +/- ##
===========================================
- Coverage 93.68% 93.65% -0.03%
===========================================
Files 177 189 +12
Lines 21743 22809 +1066
Branches 3055 3055
===========================================
+ Hits 20370 21362 +992
- Misses 927 1002 +75
+ Partials 446 445 -1 ☔ View full report in Codecov by Sentry. |
test _read_offsets adjustment
modification of test_offset_lock_created to adjust to new dependency
returned the warning and read_offsets for tests
required removal of asser_equal to not get the error, since now the files, dont't end with lock and the removal of the end would be a duplicate of the other assert_equal
@yuxuanzhuang I would ping you since you worked on the and if they require modification. Other than that the only problem that I encounter now is the Azure failing, due to Windows runners |
fasteners
dependency to fielock
fasteners
dependency to filelock
changed read offsets from True to False, retained the warning
changed and to or pytest warning in test
@IAlibay I would probably ping you in this PR to get your opinion, due to the problem with |
The issue is that Refer to the following line of code: When the lock file cannot be written in Windows, instead of raising a In contrast, on UNIX systems https://github.com/tox-dev/filelock/blob/57f488ff8fdc2193572efe102408fb63cfefe4e4/src/filelock/_unix.py#L42, if the file cannot be written, the operation fails immediately, raising an appropriate exception. Not sure why platforms are implemented differently though. |
test path
test path modification
moved back
add skip exception for azure
Hello @talagayev! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2024-12-12 22:30:32 UTC |
Ah that makes sense, but yes strange that it is structured that way. As for running it on windows, locally it works fine on my PC and it mainly appears only for azure windows, but could |
@yuxuanzhuang would you be able to manage this PR? You can recruit yourself as a reviewer or see that you can get someone else to look. If you don't have the bandwidth please un-assign yourself and let me know. Thanks. |
@talagayev you definitely also need a CHANGELOG entry. |
Ah yes, forgot about that, since it was in the draft and I didn't adjust the |
added change of fasteners to filelock
Fixes #4797
Changes made in this Pull Request:
fasteners
dependency fromXDR.py
and all installation filesfilelock
as an replacement dependency offasteners
PR Checklist
Developers certificate of origin
📚 Documentation preview 📚: https://mdanalysis--4800.org.readthedocs.build/en/4800/