| Summary: | test_sysconfig.py use python3.5 path | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Pierre Pontier <pierre.pontier> |
| Component: | RPM Packages | Assignee: | Python Stack Maintainers <python> |
| Status: | RESOLVED OLD | QA Contact: | |
| Severity: | minor | ||
| Priority: | Normal | Keywords: | 7final |
| Version: | 7 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | python3-3.7.3-1.mga7.src.rpm | CVE: | |
| Status comment: | |||
|
Pierre Pontier
2019-09-12 00:28:44 CEST
Keywords:
(none) =>
7final Name : lib64python3.7-testsuite
Version : 3.7.3
Release : 1.mga7
Source RPM : python3-3.7.3-1.mga7.src.rpm
Summary : Testsuite for the Python 3.7.3 standard library
> print("var6=${var3}/lib/python3.5/config-$(VAR2)$(var5)"
> 'var6': '42/lib/python3.5/config-b42dollar$5-x86_64-linux-gnu',
@Pierre : Is this just something you 'spotted', or did it cause you an error ?
If the latter, please say what that was.
Assigning to the Python group.Assignee:
bugsquad =>
python Sorry. Just spotted. Apparently it doesn't cause any error. I hunt all the referencies of python 3.5 after my update to mga7. Mageia 7 is EOL since July 1st 2021. There will not have any further bugfix for this release. You are encouraged to upgrade to Mageia 8 as soon as possible. @reporter, if this bug still apply with Mageia 8, please let us know it. @packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead. This bug report will be closed OLD if there is no further notice within 1st September 2021. Hi bug reporter and hi assignee and others involved, Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly. This report is being closed as OLD because it was filed against Mageia 7, for which support ended on June 30th 2021. Thanks, Marja Resolution:
(none) =>
OLD |
I think there are an error in the test_sysconfig.py from python3.7 testsuite. test_parse_makefile use the python3.5 instead of python3.7 /usr/lib64/python3.7/test/test_sysconfig.py [code] def test_parse_makefile(self): self.addCleanup(unlink, TESTFN) with open(TESTFN, "w") as makefile: print("var1=a$(VAR2)", file=makefile) print("VAR2=b$(var3)", file=makefile) print("var3=42", file=makefile) print("var4=$/invalid", file=makefile) print("var5=dollar$$5", file=makefile) print("var6=${var3}/lib/python3.5/config-$(VAR2)$(var5)" "-x86_64-linux-gnu", file=makefile) vars = sysconfig._parse_makefile(TESTFN) self.assertEqual(vars, { 'var1': 'ab42', 'VAR2': 'b42', 'var3': 42, 'var4': '$/invalid', 'var5': 'dollar$5', 'var6': '42/lib/python3.5/config-b42dollar$5-x86_64-linux-gnu', }) [/code]