[Bug 1379651] Review Request: python-feedgenerator - Standalone version of Django' s feedgenerator module

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1379651



--- Comment #3 from Ankur Sinha (FranciscoD) <sanjay.ankur@xxxxxxxxx> ---
Done. 

Updated spec/srpm:
https://ankursinha.fedorapeople.org/feedgenerator/python-feedgenerator-1.9-2.fc24.src.rpm
https://ankursinha.fedorapeople.org/feedgenerator/python-feedgenerator.spec


The py2 test runs properly, but the py3 test fails. I'm investigating, but have
disabled it for the time being. Would you folks have any hints?

+ /usr/bin/python3 setup.py test
running test
running egg_info
writing top-level names to feedgenerator.egg-info/top_level.txt                
                                                                               
                                                                     [10/6237]
writing dependency_links to feedgenerator.egg-info/dependency_links.txt
writing feedgenerator.egg-info/PKG-INFO
writing requirements to feedgenerator.egg-info/requires.txt
reading manifest file 'feedgenerator.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'feedgenerator.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "setup.py", line 58, in <module>
    zip_safe=False,
  File "/usr/lib64/python3.5/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib64/python3.5/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python3.5/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.5/site-packages/setuptools/command/test.py", line 159,
in run
    self.with_project_on_sys_path(self.run_tests)
  File "/usr/lib/python3.5/site-packages/setuptools/command/test.py", line 140,
in with_project_on_sys_path
    func()
  File "/usr/lib/python3.5/site-packages/setuptools/command/test.py", line 180,
in run_tests
    testRunner=self._resolve_as_ep(self.test_runner),
  File "/usr/lib64/python3.5/unittest/main.py", line 93, in __init__
    self.parseArgs(argv)
  File "/usr/lib64/python3.5/unittest/main.py", line 140, in parseArgs
    self.createTests()
  File "/usr/lib64/python3.5/unittest/main.py", line 147, in createTests
    self.module)
  File "/usr/lib64/python3.5/unittest/loader.py", line 219, in
loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib64/python3.5/unittest/loader.py", line 219, in <listcomp>
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib64/python3.5/unittest/loader.py", line 190, in
loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/usr/lib/python3.5/site-packages/setuptools/command/test.py", line 38,
in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/usr/lib64/python3.5/unittest/loader.py", line 153, in
loadTestsFromName
    module = __import__(module_name)
  File
"/builddir/build/BUILD/feedgenerator-1.9/tests_feedgenerator/usage_example.py",
line 36, in <module>
    feed.write(fh, 'utf-8')
  File
"/builddir/build/BUILD/feedgenerator-1.9/feedgenerator/django/utils/feedgenerator.py",
line 223, in write
    self.add_root_elements(handler)
  File
"/builddir/build/BUILD/feedgenerator-1.9/feedgenerator/django/utils/feedgenerator.py",
line 241, in add_root_elements
    handler.addQuickElement("description", self.feed['description'])
  File
"/builddir/build/BUILD/feedgenerator-1.9/feedgenerator/django/utils/xmlutils.py",
line 15, in addQuickElement
    self.characters(contents)
  File "/usr/lib64/python3.5/xml/sax/saxutils.py", line 214, in characters
    self._write(escape(content))


I tried it in a clean virtual env and it seemed to work properly, so I may have
messed something up in the spec.

Cheers,
Ankur

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]