Re: Python 3.4 to rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/30/2014 04:22 AM, Matej Stuchlik wrote:
> Good day folks,
> Python 3.4 is now [ready and tagged] in f21-python, so I'd like to ask you
> to make whatever modifications that may be necessary and [rebuild] your
> Python packages into the tag. Once we have sufficient fraction up and running,
> we'll merge with rawhide.
> 
> Note that your spec file may require slight tweaks due to some file suffixes
> changing:
> * bytecode files from .cpython-33.py[co] to .cpython-34.py[co]
> * extension modules from .cpython-33m.so to .cpython-34m.so and
>   .cpython-33dm.so to .cpython-34dm.so
> 
> There's also an upstream guide to [porting to Python 3.4] you may find helpful.
> 
> Finally, should you need help with your package, feel free to contact me and
> I'll do my best to help... :)
> 
> Matt
> 
> [ready and tagged] http://koji.fedoraproject.org/koji/taskinfo?taskID=6794120
> [rebuild] with fedpkg build --target f21-python
> [porting to Python 3.4] https://docs.python.org/dev/whatsnew/3.4.html#porting-to-python-3-4
> 

I've been rebuilding some things today.  I'm ending today with docutils
failing.  Haven't looked at the porting guide yet.  Maybe someone else
will have time to take a look.

+ python3 test3/alltests.py
Testing Docutils 0.11 [release] with Python 3.4.0 on 2014-05-10 at 03:49:57
Working directory:
/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/test3
Docutils package:
/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils
..F.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................EEE................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................!
 ..........
...................................................................................................................................................................................................................................................
======================================================================
ERROR: test_odt_basic (test_writers.test_odt.DocutilsOdtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/test3/test_writers/test_odt.py",
line 154, in test_odt_basic
    self.process_test('odt_basic.txt', 'odt_basic.odt',
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/test3/test_writers/test_odt.py",
line 105, in process_test
    settings_overrides=settings_overrides)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/core.py",
line 414, in publish_string
    enable_exit_status=enable_exit_status)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/core.py",
line 657, in publish_programmatically
    pub.set_components(reader_name, parser_name, writer_name)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/core.py",
line 99, in set_components
    self.set_writer(writer_name)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/core.py",
line 88, in set_writer
    writer_class = writers.get_writer_class(writer_name)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/writers/__init__.py",
line 137, in get_writer_class
    module = __import__(writer_name, globals(), locals(), level=1)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/writers/odf_odt/__init__.py",
line 91, in <module>
    class _ElementInterfaceWrapper(etree._ElementInterface):
AttributeError: 'module' object has no attribute '_ElementInterface'
======================================================================
ERROR: test_odt_custom_headfoot (test_writers.test_odt.DocutilsOdtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/test3/test_writers/test_odt.py",
line 173, in test_odt_custom_headfoot
    settings_overrides=settings_overrides,
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/test3/test_writers/test_odt.py",
line 105, in process_test
    settings_overrides=settings_overrides)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/core.py",
line 414, in publish_string
    enable_exit_status=enable_exit_status)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/core.py",
line 657, in publish_programmatically
    pub.set_components(reader_name, parser_name, writer_name)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/core.py",
line 99, in set_components
    self.set_writer(writer_name)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/core.py",
line 88, in set_writer
    writer_class = writers.get_writer_class(writer_name)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/writers/__init__.py",
line 137, in get_writer_class
    module = __import__(writer_name, globals(), locals(), level=1)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/writers/odf_odt/__init__.py",
line 91, in <module>
    class _ElementInterfaceWrapper(etree._ElementInterface):
AttributeError: 'module' object has no attribute '_ElementInterface'
======================================================================
ERROR: test_odt_tables1 (test_writers.test_odt.DocutilsOdtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/test3/test_writers/test_odt.py",
line 161, in test_odt_tables1
    self.process_test('odt_tables1.txt', 'odt_tables1.odt',
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/test3/test_writers/test_odt.py",
line 105, in process_test
    settings_overrides=settings_overrides)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/core.py",
line 414, in publish_string
    enable_exit_status=enable_exit_status)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/core.py",
line 657, in publish_programmatically
    pub.set_components(reader_name, parser_name, writer_name)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/core.py",
line 99, in set_components
    self.set_writer(writer_name)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/core.py",
line 88, in set_writer
    writer_class = writers.get_writer_class(writer_name)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/writers/__init__.py",
line 137, in get_writer_class
    module = __import__(writer_name, globals(), locals(), level=1)
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/build/lib/docutils/writers/odf_odt/__init__.py",
line 91, in <module>
    class _ElementInterfaceWrapper(etree._ElementInterface):
AttributeError: 'module' object has no attribute '_ElementInterface'
======================================================================
FAIL: test_empty (test_nodes.ElementTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/builddir/build/BUILD/python3-python-docutils-0.11-2.fc21/test3/test_nodes.py",
line 95, in test_empty
    self.assertEqual(str(element), '<Element mark="\\u2022"/>')
AssertionError: '<Element mark="\u2022"/>' != '<Element mark="\\u2022"/>'
- <Element mark="\u2022"/>
?                ^
+ <Element mark="\u2022"/>
?                ^^^^^^
----------------------------------------------------------------------
Ran 1242 tests in 10.044s
FAILED (failures=1, errors=3)


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion@xxxxxxxxxxxxx
Boulder, CO 80301              http://www.cora.nwra.com
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux