Closed cthoyt closed 1 year ago
Merging #64 (15e0a64) into main (eecf60f) will decrease coverage by
0.11%
. The diff coverage is50.00%
.
@@ Coverage Diff @@
## main #64 +/- ##
==========================================
- Coverage 66.80% 66.70% -0.11%
==========================================
Files 10 10
Lines 946 949 +3
Branches 198 198
==========================================
+ Hits 632 633 +1
- Misses 291 293 +2
Partials 23 23
Files | Coverage Δ | |
---|---|---|
src/pystow/utils.py | 61.65% <50.00%> (-0.27%) |
:arrow_down: |
:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!
I was sent the following traceback which seems to correspond to someone who is using the Bioregistry, which has PyStow as a transitive dependency. They call code that invokes the Bioregistry, which imports PyStow and tries to create a README file in its default folder. However, the default folder is created in the home directory of the server, which is
/var/www
, and this user doesn't have permission to write in that folder.Therefore, the solution is to change the PyStow configuration to overwrite the default location and pick somewhere where the user has write privileges. Changing the default Pystow location can be done by following instructions here: https://pystow.readthedocs.io/en/latest/installation.html#configuration