pyupio / dparse

A parser for Python dependency files
MIT License
61 stars 23 forks source link

Fix PermissionError when running test_updater.py::test_update_pipfile #55

Closed ptmcg closed 11 months ago

ptmcg commented 2 years ago

Fixes failing tox test:

FAILED tests/test_updater.py::test_update_pipfile - PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\ptmcg\\AppData\...
codecov[bot] commented 2 years ago

Codecov Report

Merging #55 (69127c1) into master (699069e) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
+ Coverage   94.80%   94.81%   +0.01%     
==========================================
  Files          11       11              
  Lines         808      810       +2     
==========================================
+ Hits          766      768       +2     
  Misses         42       42              
Impacted Files Coverage Δ
dparse/updater.py 87.32% <100.00%> (+0.36%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 699069e...69127c1. Read the comment docs.

ptmcg commented 2 years ago

Sorry, trying to do too much at once - branch was intended for fixing the regex DeprecationWarnings, will open a new branch and PR for that.

ptmcg commented 2 years ago

PR is failing in setuptools, not sure how to address that.

yeisonvargasf commented 11 months ago

Thank @ptmcg; we don't use Travis CI now, and I think this issue was already addressed in the past. I'll add OS tests and codecov soon.

I'm sorry for the late review here.