Bug 1242929
Summary: | python-slimit: doesn't work with python 3 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Simacek <msimacek> |
Component: | python-ply | Assignee: | Stephen Gallagher <sgallagh> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 23 | CC: | sgallagh, tcallawa |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 3.6-2.fc23 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-09-04 03:24:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1238559 |
Description
Michael Simacek
2015-07-14 12:38:34 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23 It turns out that this is actually a bug in python-ply, not slimit: https://github.com/dabeaz/ply/issues/63 python-ply-3.6-2.fc23 has been submitted as an update for Fedora 23. https://admin.fedoraproject.org/updates/python-ply-3.6-2.fc23 Now it works, but spits out a bunch of warnings: WARNING: Couldn't write lextab module <module 'slimit.lextab' from '/usr/lib/python3.4/site-packages/slimit/lextab.py'>. Won't overwrite existing lextab module WARNING: yacc table file version is out of date WARNING: Token 'SUPER' defined, but not used WARNING: Token 'IMPORT' defined, but not used WARNING: Token 'ENUM' defined, but not used WARNING: Token 'EXTENDS' defined, but not used WARNING: Token 'LINE_COMMENT' defined, but not used WARNING: Token 'CONST' defined, but not used WARNING: Token 'BLOCK_COMMENT' defined, but not used WARNING: Token 'LINE_TERMINATOR' defined, but not used WARNING: Token 'EXPORT' defined, but not used WARNING: Token 'CLASS' defined, but not used WARNING: There are 10 unused tokens WARNING: Couldn't create <module 'slimit.yacctab' from '/usr/lib/python3.4/site-packages/slimit/yacctab.py'>. Won't overwrite existing tabmodule I don't know whether it can cause any real problems. (In reply to Michael Simacek from comment #4) > Now it works, but spits out a bunch of warnings: > WARNING: Couldn't write lextab module <module 'slimit.lextab' from > '/usr/lib/python3.4/site-packages/slimit/lextab.py'>. Won't overwrite > existing lextab module > WARNING: yacc table file version is out of date > WARNING: Token 'SUPER' defined, but not used > WARNING: Token 'IMPORT' defined, but not used > WARNING: Token 'ENUM' defined, but not used > WARNING: Token 'EXTENDS' defined, but not used > WARNING: Token 'LINE_COMMENT' defined, but not used > WARNING: Token 'CONST' defined, but not used > WARNING: Token 'BLOCK_COMMENT' defined, but not used > WARNING: Token 'LINE_TERMINATOR' defined, but not used > WARNING: Token 'EXPORT' defined, but not used > WARNING: Token 'CLASS' defined, but not used > WARNING: There are 10 unused tokens > WARNING: Couldn't create <module 'slimit.yacctab' from > '/usr/lib/python3.4/site-packages/slimit/yacctab.py'>. Won't overwrite > existing tabmodule > > I don't know whether it can cause any real problems. Yes, I've seen the warnings but it appears to run to completion and produce sensible output, so I ran with it. Package python-ply-3.6-2.fc23: * should fix your issue, * was pushed to the Fedora 23 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-ply-3.6-2.fc23' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-13668/python-ply-3.6-2.fc23 then log in and leave karma (feedback). python-ply-3.6-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |