-
Notifications
You must be signed in to change notification settings - Fork 93
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
2 tests fails on elderly python 3.6 (ubuntu 18.04) #623
Comments
Thanks for the report and PR! I dimly remember this kind of errors - I think they had to do with the encoding set in the Docker container. I will try to find the related issue before merging the PR that skips the tests. |
Found it. From a private conversation with the maintainer:
This has been fixed by adding an encoding to the docker container in PR #456. This is probably not an option in your case, though I'll wait for your opinion on that. Note that this does not depend on the Python version, just on the installed locale, so skipping it for a specific Python version is probably not the corrrect way to handle this. I guess we could skip if we could check the encoding (not sure about this - is there even a Python encoding for pure ASCII?), or we could catch the exception in the test and skip the test if it occurs. |
well -- for myself I "addressed" the issue by skipping just to get that package built. |
Thanks for the suggestion. Actually, we run most of the tests both in pyfakefs and in the real fs (at least in the CI tests), so I know from that previous occurrence that these tests also fail in the real fs (I omitted that part of the conversation). I will probably go with just ignoring the exception in the test if it occurs (skip the test in this case). |
@yarikoptic - I added a PR that does just that (skip the test if the exception occurs), you may have a look to check if this would be ok. |
Describe the bug
I was trying to build backports of debian package (only 4.3.3 ATM in Debian) for NeuroDebian and whenever it built/tested on newer systems just fine, I ran into two tests fails on ubuntu 18.04
Just didn't want to stay silent ...
How To Reproduce
can try to provide a reproducer if needed. most likely in a docker container, .e.g
docker run -it --rm neurodebian:nd18.04
Your environment
NeuroDebian base build images, this one for ubuntu 18.04 with python 3.6 (3.6.5-3; update to 3.6.9 from bionic-updates gave no remedy)
Please run the following and paste the output.
testing with current master
(that is why I don't like github releases mechanism since they use non-annotated tags)
(that is why I dislike off branch releases , well -- they could still be merged back in to at least get a sane
describe
)I am also getting those two fails
The text was updated successfully, but these errors were encountered: