Closed mvdbeek closed 5 years ago
This hadn't been caught in the tests because python setup.py install
actually works.
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
bdbag/init.py | 2 | 78.03% | ||
<!-- | Total: | 2 | --> |
Totals | |
---|---|
Change from base Build 167: | 0.2% |
Covered Lines: | 991 |
Relevant Lines: | 1182 |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
bdbag/init.py | 2 | 78.03% | ||
<!-- | Total: | 2 | --> |
Totals | |
---|---|
Change from base Build 167: | 0.2% |
Covered Lines: | 991 |
Relevant Lines: | 1182 |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
bdbag/init.py | 2 | 78.03% | ||
<!-- | Total: | 2 | --> |
Totals | |
---|---|
Change from base Build 167: | 0.2% |
Covered Lines: | 991 |
Relevant Lines: | 1182 |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
bdbag/init.py | 2 | 78.03% | ||
<!-- | Total: | 2 | --> |
Totals | |
---|---|
Change from base Build 167: | 0.2% |
Covered Lines: | 991 |
Relevant Lines: | 1182 |
@mikedarcy Sorry for being a bit impatient, could you have a look at this please ?
I'm sorry I wasn't able to look into this sooner. I somehow did not get the email notification from GitHub when you first filed the PR.
I cannot seem to reproduce this using Python 3.6. Not quite sure what is going on. Could you run this pip command to bypass your cache and reinstall all deps?
pip install --force-reinstall --no-cache-dir --upgrade bdbag
Can you provide me some more info about your platform? Can you reproduce this consistently on other systems? I use Python3 by default and have not encountered this on the multiple systems I've installed the software to via Pip. What Pip version is being used?
In any case there next release of bdbag
will probably be next week, and it will pin to 1.7.0. Unfortunately, the way the software is written against bagit
requires monkeypatching so we pin it to a specific version. I don't think that will change anytime soon but we will bump the dep version with the next release.
Aha, are you running in a docker container with minimal locale support? I think you've hit the issue referenced in this bagit commit, which indeed appears to fix the issue in 1.7.0.
Indeed, and I was wondering how come I can't reproduce this anymore! Sure, the workaround is fine.
As bagit==1.6.4 can't be installed (by pip) on python 3:
This has been fixed on 1.7.0.