Break the conflicts with click the optparser
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
click (Ubuntu) |
Fix Released
|
Undecided
|
Sergio Schvezov | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned | ||
Zesty |
Fix Released
|
Undecided
|
Unassigned | ||
Artful |
Fix Released
|
Undecided
|
Sergio Schvezov |
Bug Description
[Impact]
* python-click and python-
python package for its implementation.
* Since python-
package and python3-click is a package meant to be used in other
implementations it makes sense to break the conflict by moving the
package name for python-
* snapcraft has moved from docopt to python3-click, users that have click
installed don't have an upgrade path.his bug.
[Test Case]
* Where snapcraft 2.30 is present:
- apt install click
- Install snapcraft << 2.30
- update to snapcraft >= 2.30
- the upgrade should not be held on any package.
- click and snapcraft commands should work.
* Install python3-click and click should be possible. The click command
should keep working and python3 -c 'from click import group' shall work.
[Regression Potential]
* Users depending on click from python-
unexpected click in any scripts they may have.
[Other Info]
* While unfortunate, click as a technology is deprecated and not used
anymore. This resolution path was discussed with slangasek and apw prior
to any work.
Related branches
- Colin Watson (community): Approve
-
Diff: 799 lines (+100/-93)41 files modified.bzrignore (+4/-4)
Makefile.am (+1/-1)
bin/click (+2/-2)
click_package/build.py (+5/-5)
click_package/commands/__init__.py (+1/-1)
click_package/commands/build.py (+1/-1)
click_package/commands/buildsource.py (+1/-1)
click_package/commands/chroot.py (+2/-2)
click_package/commands/desktophook.py (+1/-1)
click_package/commands/info.py (+2/-2)
click_package/commands/install.py (+1/-1)
click_package/commands/list.py (+1/-1)
click_package/commands/verify.py (+1/-1)
click_package/framework.py (+2/-2)
click_package/install.py (+4/-4)
click_package/tests/__init__.py (+1/-1)
click_package/tests/gimock.py (+3/-3)
click_package/tests/gimock_types.py (+1/-1)
click_package/tests/helpers.py (+2/-2)
click_package/tests/integration/test_signatures.py (+1/-1)
click_package/tests/integration/test_verify.py (+3/-2)
click_package/tests/test_arfile.py (+3/-3)
click_package/tests/test_build.py (+4/-4)
click_package/tests/test_chroot.py (+3/-3)
click_package/tests/test_database.py (+4/-4)
click_package/tests/test_framework.py (+2/-2)
click_package/tests/test_hooks.py (+3/-3)
click_package/tests/test_install.py (+10/-10)
click_package/tests/test_osextras.py (+3/-3)
click_package/tests/test_paths.py.in (+1/-1)
click_package/tests/test_query.py (+2/-2)
click_package/tests/test_scripts.py (+1/-1)
click_package/tests/test_static.py (+2/-2)
click_package/tests/test_user.py (+4/-4)
configure.ac (+3/-3)
debian/changelog (+7/-0)
debian/control (+0/-1)
debian/tests/run-tests.sh (+1/-1)
doc/index.rst (+3/-3)
setup.py.in (+2/-2)
tox.ini (+2/-2)
- Colin Watson (community): Approve
-
Diff: 786 lines (+99/-92)40 files modified.bzrignore (+4/-4)
Makefile.am (+1/-1)
bin/click (+2/-2)
click_package/build.py (+5/-5)
click_package/commands/__init__.py (+1/-1)
click_package/commands/build.py (+1/-1)
click_package/commands/buildsource.py (+1/-1)
click_package/commands/chroot.py (+2/-2)
click_package/commands/desktophook.py (+1/-1)
click_package/commands/info.py (+2/-2)
click_package/commands/install.py (+1/-1)
click_package/commands/list.py (+1/-1)
click_package/commands/verify.py (+1/-1)
click_package/framework.py (+2/-2)
click_package/install.py (+4/-4)
click_package/tests/__init__.py (+1/-1)
click_package/tests/gimock.py (+3/-3)
click_package/tests/gimock_types.py (+1/-1)
click_package/tests/helpers.py (+2/-2)
click_package/tests/integration/test_verify.py (+3/-2)
click_package/tests/test_arfile.py (+3/-3)
click_package/tests/test_build.py (+4/-4)
click_package/tests/test_chroot.py (+3/-3)
click_package/tests/test_database.py (+4/-4)
click_package/tests/test_framework.py (+2/-2)
click_package/tests/test_hooks.py (+3/-3)
click_package/tests/test_install.py (+10/-10)
click_package/tests/test_osextras.py (+3/-3)
click_package/tests/test_paths.py.in (+1/-1)
click_package/tests/test_query.py (+2/-2)
click_package/tests/test_scripts.py (+1/-1)
click_package/tests/test_static.py (+2/-2)
click_package/tests/test_user.py (+4/-4)
configure.ac (+3/-3)
debian/changelog (+7/-0)
debian/control (+0/-1)
debian/tests/run-tests.sh (+1/-1)
doc/index.rst (+3/-3)
setup.py.in (+2/-2)
tox.ini (+2/-2)
description: | updated |
I did some preemptive testing with ppa:ci- train-ppa- service/ ubuntu/ 2790 (https:/ /bileto. ubuntu. com/#/ticket/ 2790) which should land in artful:
root@artful:/# dpkg -l snapcraft Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ====-== ======= ===-=== ======= ==-==== ======= ======= ======= ======= = Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ====-== ======= ===-=== ======= ==-==== ======= ======= ======= ======= =
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii snapcraft 2.30.1+17.10 all easily craft snaps
root@artful:/# dpkg -l click
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii click 0.4.46+17.10 amd64 Click packages
root@artful:/# snapcraft --help
Usage: snapcraft [OPTIONS] COMMAND [ARGS]...
Snapcraft is a delightful packaging tool.
Options:
-d, --debug
--help Show this message and exit.
Commands: integration systems to...
build Build artifacts defined for a part.
clean Remove content - cleans downloads, builds or...
cleanbuild Create a snap using a clean environment...
close Close <channel> for <snap-name>.
create-key Create a key to sign assertions.
define Shows the definition for the cloud part.
enable-ci Enable continuous-
gated Get the list of snaps and revisions gating a...
help Obtain help for a certain plugin or topic.
init Initialize a snapcraft project.
list-keys List the keys available to sign assertions.
list-plugins List the available plugins that handle...
list-registered List snap names registered or shared with...
list-revisions Get the history on the store for <snap-name>.
login Authenticate session against Ubuntu One SSO.
logout Clear session credentials.
prime Final copy and preparation for the snap.
pull Download or retrieve artifacts defined for a...
push Push <snap-file> to the store.
register Register <snap-name> with the store.
register-key Register a key with the store to sign...
release Release <snap-name> on <revision> to the...
search Searches the remote parts cache for matching...
sign-build Sign a built snap file and assert it using...
snap Create a snap.
stage Stage the part's built artifacts into the...
status Get the status on the store for <snap-name>.
tour Setup the snapcraft examples used in the...
update Updates the parts listing from the cloud.
validate Validate a gated snap.
root@artful:/# click --help
Usage: click COMMAND [options]
Commands are as follows ('click COMMAND --help' for more):
build Build a Click package.
buildsource Build a Click source package.
chroot Use and manage a Click ...