https://bugzilla.redhat.com/show_bug.cgi?id=1906462
Bug ID: 1906462
Summary: javapackages-tools fails to build with Python 3.10:
AssertionError: '<frozen importlib._bootstrap>:241:
Runtim[147 chars]type' != 'Unsupported artifact type'
Product: Fedora
Version: rawhide
Status: NEW
Component: javapackages-tools
Assignee: mizdebsk(a)redhat.com
Reporter: thrnciar(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mat.booth(a)redhat.com, mhroncok(a)redhat.com,
mizdebsk(a)redhat.com, msrb(a)redhat.com,
sochotni(a)redhat.com, thrnciar(a)redhat.com
Blocks: 1890881 (PYTHON3.10)
Target Milestone: ---
Classification: Fedora
javapackages-tools fails to build with Python 3.10.0a3.
======================================================================
FAIL: test_run_no_args (mvn_alias_test.TestMvnAlias)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/javapackages-5.3.0/test/test_common.py", line
122, in test_decorated
fun(self, stdout, stderr, return_value)
File "/builddir/build/BUILD/javapackages-5.3.0/test/mvn_alias_test.py", line
32, in test_run_no_args
self.assertEqual("Usage:", stderr[:6])
AssertionError: 'Usage:' != '<froze'
- Usage:
+ <froze
======================================================================
FAIL: test_run_no_args (mvn_compat_version_test.TestMvnCompatVersion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/javapackages-5.3.0/test/test_common.py", line
122, in test_decorated
fun(self, stdout, stderr, return_value)
File
"/builddir/build/BUILD/javapackages-5.3.0/test/mvn_compat_version_test.py",
line 29, in test_run_no_args
self.assertEqual("Usage:", stderr[:6])
AssertionError: 'Usage:' != '<froze'
- Usage:
+ <froze
======================================================================
FAIL: test_run_no_args (mvn_config_test.TestMvnConfig)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/javapackages-5.3.0/test/test_common.py", line
122, in test_decorated
fun(self, stdout, stderr, return_value)
File "/builddir/build/BUILD/javapackages-5.3.0/test/mvn_config_test.py", line
29, in test_run_no_args
self.assertEqual("Usage:", stderr[:6])
AssertionError: 'Usage:' != '<froze'
- Usage:
+ <froze
======================================================================
FAIL: test_run_no_args (mvn_file_test.TestMvnFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/javapackages-5.3.0/test/test_common.py", line
122, in test_decorated
fun(self, stdout, stderr, return_value)
File "/builddir/build/BUILD/javapackages-5.3.0/test/mvn_file_test.py", line
29, in test_run_no_args
self.assertEqual("Usage:", stderr[:6])
AssertionError: 'Usage:' != '<froze'
- Usage:
+ <froze
======================================================================
FAIL: test_run_no_args (mvn_package_test.TestMvnPackage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/javapackages-5.3.0/test/test_common.py", line
122, in test_decorated
fun(self, stdout, stderr, return_value)
File "/builddir/build/BUILD/javapackages-5.3.0/test/mvn_package_test.py",
line 30, in test_run_no_args
self.assertEqual("Usage:", stderr[:6])
AssertionError: 'Usage:' != '<froze'
- Usage:
+ <froze
======================================================================
FAIL: test_unsupported_type (pm_request_test.PmRequestTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/javapackages-5.3.0/test/pm_request_test.py", line
80, in test_unsupported_type
self.assertEqual(err.rstrip(), "Unsupported artifact type")
AssertionError: '<frozen importlib._bootstrap>:241: Runtim[147 chars]type'
!=
'Unsupported artifact type'
- <frozen importlib._bootstrap>:241: RuntimeWarning: builtins.type size
changed, may indicate binary incompatibility. Expected 880 from C header, got
888 from PyObject
Unsupported artifact type
======================================================================
FAIL: test_usage (pm_request_test.PmRequestTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/javapackages-5.3.0/test/pm_request_test.py", line
85, in test_usage
self.assertEqual(err.rstrip(), "Usage: artifact-type artifact-coordinates")
AssertionError: '<frozen importlib._bootstrap>:241: Runtim[163 chars]ates'
!=
'Usage: artifact-type artifact-coordinates'
- <frozen importlib._bootstrap>:241: RuntimeWarning: builtins.type size
changed, may indicate binary incompatibility. Expected 880 from C header, got
888 from PyObject
Usage: artifact-type artifact-coordinates
----------------------------------------------------------------------
XML: /builddir/build/BUILD/javapackages-5.3.0/test/nosetests.xml
----------------------------------------------------------------------
Ran 422 tests in 44.010s
FAILED (failures=7)
For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/%40python/python3.10/fedo...
For all our attempts to build krita with Python 3.10, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/javap...
Testing and mass rebuild of packages is happening in copr. You can follow these
instructions to test locally in mock if your package builds with Python 3.10:
https://copr.fedorainfracloud.org/coprs/g/python/python3.10/
Let us know here if you have any questions.
Python 3.10 will be included in Fedora 35. To make that update smoother, we're
building Fedora packages with early pre-releases of Python 3.10.
A build failure prevents us from testing all dependent packages (transitive
[Build]Requires), so if this package is required a lot, it's important for us
to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you
don't want to work on this now, let us know so we can try to work around it on
our side.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1890881
[Bug 1890881] Python 3.10 tracker
--
You are receiving this mail because:
You are on the CC list for the bug.