Bug 750072

Summary: Plans to update to tornado-2.1.x?
Product: [Fedora] Fedora Reporter: Thomas Spura <tomspur>
Component: python-tornadoAssignee: Ionuț Arțăriși <ionut>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ionut
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-tornado-2.1.1-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-25 23:22:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Thomas Spura 2011-10-30 16:17:09 UTC
Description of problem:
The upcomming ipython will contain a fancy notebook [1], which will require at least 2.1.0 for now.

Can you please update to the 2.X stack?
Or there won't be any notebook feature in the fedora ipython :(

[1] http://ipython.org/ipython-doc/dev/interactive/htmlnotebook.html

Comment 1 Thomas Spura 2011-11-07 16:26:34 UTC
Any news here?

Your latest build is from "2011-06-16 08:06:21":
http://koji.fedoraproject.org/koji/userinfo?userID=1144

Are you still around?

Comment 2 Ionuț Arțăriși 2011-11-08 13:20:51 UTC
Hi, 

I thought I would have more time to look into this the past weekend, but I didn't.

The problem is that I'm running into this weird SyntaxErrors while bytecompiling which I haven't been able to figure out. You're welcome to look into it if you like. 

Here's a recent build with the SyntaxErrors: http://koji.fedoraproject.org/koji/getfile?taskID=3496919&name=build.log

Comment 3 Thomas Spura 2011-11-08 16:52:09 UTC
(In reply to comment #2)
> Here's a recent build with the SyntaxErrors:
> http://koji.fedoraproject.org/koji/getfile?taskID=3496919&name=build.log

The syntax error come from here:
# remove shebang from files
for File in `find %{pkgname} -name "*py"`; do
    %{__sed} -i.orig -e 1d ${File}
    touch -r ${File}.orig ${File}
    %{__rm} ${File}.orig
done

This means you delete the first line in every file (so I'm surprised, you have not more syntax errors ;)

Using the other possibility from [1] works however. It deletes the first line only, when there is a #!/ in it:

%{__sed} -i.orig -e '/^#!\//, 1d' ${File}

[1] https://fedoraproject.org/wiki/Packaging_tricks#Remove_shebang_from_files

Comment 4 Fedora Update System 2011-11-09 12:18:20 UTC
python-tornado-2.1.1-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/python-tornado-2.1.1-1.fc16

Comment 5 Ionuț Arțăriși 2011-11-09 12:23:13 UTC
Thanks a lot, Thomas and sorry for the delay. I've submitted the update now.

Comment 6 Thomas Spura 2011-11-09 15:30:17 UTC
(In reply to comment #5)
> Thanks a lot, Thomas and sorry for the delay. I've submitted the update now.

No problem at all.
I just didn't know if you are still around or simply busy... :)

Thanks for the fast update.

Comment 7 Fedora Update System 2011-11-10 17:47:04 UTC
Package python-tornado-2.1.1-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-tornado-2.1.1-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-15688
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2011-11-25 23:22:29 UTC
python-tornado-2.1.1-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.