Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1475812 - python-prompt_toolkit-2.0.4 is available
Summary: python-prompt_toolkit-2.0.4 is available
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-prompt_toolkit
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Carl George
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1571277
TreeView+ depends on / blocked
 
Reported: 2017-07-27 12:24 UTC by Upstream Release Monitoring
Modified: 2018-10-02 20:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-02 20:27:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
[patch] Update to 1.0.15 (#1475812) (1.21 KB, patch)
2017-07-27 12:24 UTC, Upstream Release Monitoring
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1632395 0 unspecified CLOSED python-softlayer: Remove (sub)packages from Fedora 30+: python2-softlayer 2022-05-16 11:32:56 UTC
Red Hat Bugzilla 1634091 0 medium CLOSED Re-Review Request: python-prompt-toolkit - Library for building powerful interactive command lines in Python 2022-05-16 11:32:56 UTC
Red Hat Bugzilla 1634141 0 unspecified CLOSED spyder: prompt_toolkit dependency 2022-05-16 11:32:56 UTC
Red Hat Bugzilla 1634174 0 unspecified CLOSED sagemath: prompt_toolkit dependency 2022-05-16 11:32:56 UTC
Red Hat Bugzilla 1634819 0 medium CLOSED Re-Review Request: python2-prompt-toolkit - Library for building powerful interactive command lines in Python 2022-05-16 11:32:56 UTC
Red Hat Bugzilla 1635343 0 unspecified CLOSED ptpython-2.0.2 is available 2022-05-16 11:32:56 UTC


Description Upstream Release Monitoring 2017-07-27 12:24:23 UTC
Latest upstream release: 1.0.15
Current version/release in rawhide: 1.0.14-1.fc27
URL: https://github.com/jonathanslenders/python-prompt-toolkit

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring

Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.

Based on the information from anitya:  https://release-monitoring.org/project/8742/

Comment 1 Upstream Release Monitoring 2017-07-27 12:24:30 UTC
Created attachment 1305347 [details]
[patch] Update to 1.0.15 (#1475812)

Comment 2 Upstream Release Monitoring 2018-06-03 00:21:47 UTC
Latest upstream release: 2.0.1
Current version/release in rawhide: 1.0.14-5.fc29
URL: https://github.com/jonathanslenders/python-prompt-toolkit

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring

Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.

Based on the information from anitya:  https://release-monitoring.org/project/8742/

Comment 3 Upstream Release Monitoring 2018-06-04 00:21:41 UTC
Latest upstream release: 2.0.2
Current version/release in rawhide: 1.0.14-5.fc29
URL: https://github.com/jonathanslenders/python-prompt-toolkit

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring

Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.

Based on the information from anitya:  https://release-monitoring.org/project/8742/

Comment 4 Upstream Release Monitoring 2018-06-09 00:21:55 UTC
Latest upstream release: 2.0.3
Current version/release in rawhide: 1.0.14-5.fc29
URL: https://github.com/jonathanslenders/python-prompt-toolkit

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring

Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.

Based on the information from anitya:  https://release-monitoring.org/project/8742/

Comment 5 Anatoli Babenia 2018-06-28 14:16:27 UTC
So, how to update it?

Comment 6 Carl George 2018-06-28 15:10:33 UTC
> Version 2.0 includes a big refactoring of the internal architecture. This
> includes the merge of the CommandLineInterface and the Application object, a
> rewrite of how user controls are focused, a rewrite of how event loops work
> and the removal of the buffers dictionary. This introduces many backwards
> incompatible changes, but the result is a very nice and powerful architecture.

https://github.com/jonathanslenders/python-prompt-toolkit/blob/2.0.3/CHANGELOG#L29-L33

Based on that, it seems this would only be appropriate for Rawhide.

Comment 7 Carl George 2018-07-13 01:17:53 UTC
I updated all the branches to 1.0.15.  Next I'm going to look into renaming the package and subpackages from python{,2,3}-prompt_toolkit to python{,2,3}-prompt-toolkit.

> Package names SHOULD be in lower case and use dashes in preference to underscores.

https://fedoraproject.org/wiki/Packaging:Naming#General_Naming

At the same time, I'll update it to 2.x.x.

Comment 8 Anatoli Babenia 2018-07-13 17:33:08 UTC
Looking forward to it.

Comment 9 Upstream Release Monitoring 2018-07-23 00:26:41 UTC
Latest upstream release: 2.0.4
Current version/release in rawhide: 1.0.15-1.fc29
URL: https://github.com/jonathanslenders/python-prompt-toolkit

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring

Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.

Based on the information from anitya:  https://release-monitoring.org/project/8742/

Comment 10 Miro Hrončok 2018-09-27 19:08:13 UTC
This is needed for IPython 7. Carl, do you need help? Are there any challenges, blockers...?

Comment 11 Miro Hrončok 2018-09-27 19:10:58 UTC
http://fedora.portingdb.xyz/pkg/python-prompt_toolkit/

"Please notice that this is prompt_toolkit 2.0. It is incompatible with the 1.0 branch, but much better in many regards. Many applications are still using prompt_toolkit 1.0, but upgrading is strongly recommended. Feel free to open a new issue if you don’t manage to upgrade to prompt_toolkit 2.0."

There is a handful of packages that require this:

  sagemath
  ptpython
  python-softlayer
  spyder
  aws-shell
  gns3-server
  ipython
  mycli
  xonsh
  python2-ipython

So we might need to check them one by one.

Comment 12 Carl George 2018-09-27 20:51:21 UTC
Hey Miro.  I'd like to change the name from prompt_toolkit to prompt-toolkit, so I'm working on submitting python-prompt-toolkit for review.  I'm aware of the other packages that require prompt_toolkit.  Some of these have had upstream work to get compatible with the update.  This is what I've found so far, any help tracking down the status for the rest would be great.

python3-ipython: https://github.com/ipython/ipython/pull/11177 (done in 7.0.0)
xonsh: https://github.com/xonsh/xonsh/pull/2716 (done in 0.7.0)
ptpython3: https://github.com/jonathanslenders/ptpython/issues/256 (done in master, not released)
mycli: https://github.com/dbcli/mycli/pull/614 (not done)

For the normal rename process [0], I would have python3-prompt-toolkit obsolete python3-prompt_toolkit.  However, since not all the other packages are compatible yet, do you think it would permissible for both python3-prompt_toolkit-1.x.x and python3-prompt-toolkit-2.x.x to exist in rawhide at the same time with no obsolete?  I think I could accomplish it with a "Conflicts" that I later change to an "Obsoletes" once nothing else .  On a related note, upstream considered a prompt_toolkit2 rename, but decided against it [1].

[0]: https://fedoraproject.org/wiki/Package_Renaming_Process
[1]: https://github.com/jonathanslenders/python-prompt-toolkit/issues/568

Comment 13 Miro Hrončok 2018-09-27 21:03:26 UTC
> do you think it would permissible for both python3-prompt_toolkit-1.x.x and python3-prompt-toolkit-2.x.x to exist in rawhide at the same time with no obsolete?  

No, they would conflict, that's not a good idea.

Do you really think that all the work with renaming this is worth it? Cannot you just rename the subpackages and leave the main package name be?

Comment 14 Carl George 2018-09-28 20:54:40 UTC
Yes, I think it's worth it, so that python3-prompt-toolkit has the expected python-prompt-toolkit SRPM/spec name.  I have submitted the re-review.

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

More relevant bugs for the other packages:

aws-shell: https://github.com/awslabs/aws-shell/issues/209
gns3-server: https://github.com/GNS3/gns3-server/pull/1374
python{2,3}-softlayer: https://github.com/softlayer/softlayer-python/issues/1042
python{2,3}-spyder: https://bugzilla.redhat.com/show_bug.cgi?id=1634141
sagemath: https://bugzilla.redhat.com/show_bug.cgi?id=1634174

I noticed something curious with ipython.  The python2 subpackage was dropped from the spec file, but the last version that had it still exists in rawhide.  I expected the python2 subpackage to disappear once new builds without it were published.

- python2-ipython-5.8.0-1.fc29
- python3-ipython-6.4.0-4.fc29

When will python2-ipython actually be removed from Fedora?

Comment 15 Miro Hrončok 2018-09-28 21:27:24 UTC
See https://src.fedoraproject.org/rpms/python2-ipython

No plans for removal yet.

Comment 16 Miro Hrončok 2018-09-28 21:34:29 UTC
https://github.com/ipython/ipython/issues/11341

Comment 17 Miro Hrončok 2018-09-30 11:04:55 UTC
Got a reply at https://github.com/ipython/ipython/issues/11341

Proposal:

We only update python3-prompt-toolkit to 2.x.
We keep python2-prompt-toolikit at 1.x.

(This would work for IPython packages we have in Fedora.)


This would mean ptpython, python-softlayer, spyder woudl need to support both, drop python2, or split as well.

Comment 18 Carl George 2018-10-01 17:27:56 UTC
python-prompt-toolkit re-review: bug 1634091
python2-prompt-toolkit re-review: bug 1634819

Comment 19 Anatoli Babenia 2018-10-02 14:59:47 UTC
> We only update python3-prompt-toolkit to 2.x.
> We keep python2-prompt-toolikit at 1.x.

Good. Python 2 packages can always be run in virtualenv.

Comment 20 Carl George 2018-10-02 15:46:22 UTC
These have been built for rawhide, they should show up in the next compose.

- python2-prompt-toolkit-1.0.15-3.fc30
- python3-prompt-toolkit-2.0.5-1.fc30

Comment 21 Miro Hrončok 2018-10-02 20:00:21 UTC
Don't forget to retire python-prompt_toolkit.

Comment 22 Carl George 2018-10-02 20:27:28 UTC
Done.


Note You need to log in before you can comment on or make changes to this bug.