-
Notifications
You must be signed in to change notification settings - Fork 11
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
Failure of tests/test_paths.py::TestPortablePath::test_safe_path_posix_style_chinese_char #56
Comments
@eclipseo Thanks! Can you tell what is your processor architecture? And what is your locale and filesystem encoding? Is there a way to get a Fedora Rawhide container image of sorts with Python 3.12.0~rc1 tor reproduce the failure? Side note: It seems from the trails of questions and issues your leave behind that you are porting ScanCode to Fedora! ... this is awesome! |
My arch is x86_64 but will be testing on s390x, ppc64le and aarch64. I think you can images on https://registry.fedoraproject.org/, look for Fedora 40. For now I have most of the dependencies prepared, but I still have issues with testing extractcode and one other similar, I think I'll file bug for help. For now, we use Debian's licencecheck in our review tool. One of the legal people from Redhat suggested to replace it with askalano, but as the initial packager for askalano, which I am using for license detection in Golang packaging, it is no better. So I'm looking for alternative, in Python preferably, to plug it into my tools, and potentially into the official review tool if it gives good results So far it's been good, askalano has trouble when a license file has multiple licenses and also with linking exception. Fedora has been switching to SPDX and we have more than 25000 packages to go through. We can't automatically convert from the previous notation to SPDX because we called stuff MIT/BSD/CC-BY without specifying the Version contrary to SPDX. And we have new rules for "effective analysis" so basically we need to reanalyze the code base. |
@eclipseo this is awesome! You wrote:
Ideally we should add a basic smoke test for a Fedora container in https://github.com/nexB/skeleton/blob/main/azure-pipelines.yml and use it across all the repos! Some other comments:
We have a few things that should be of interest to you:
All-in-all I would like to help! |
@pombredanne If you can help about this: aboutcode-org/extractcode#51 This is my remaining blocking part. |
So it works on Fedora 38 and 39 with export LC_ALL=C.UTF-8 before the test, but not Fedora 40. |
@eclipseo the latest release should pass all tests up to 3.11 and I am adding 3.12 support next. Closely related, I have been hitting this bug jawah/charset_normalizer#520 |
Environment:
The following test fails:
The text was updated successfully, but these errors were encountered: