Public bug reported:
When running unit tests on my vivid VM I've noticed that many tests fail
because there are extra lines printed by pkg_resources:
- /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2512: PEP440Warning:
'apturl (0.5.2ubuntu6)' is being parsed as a legacy, non PEP 440, version. You
may find odd behavior and sort order. In particular it will be sorted as less
than 0.0. It is recommend to migrate to PEP 440 compatible versions.
- PEP440Warning,
- /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2512: PEP440Warning:
'python-apt (0.9.3.11build1)' is being parsed as a legacy, non PEP 440,
version. You may find odd behavior and sort order. In particular it will be
sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible
versions.
- PEP440Warning,
- /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2512: PEP440Warning:
'ufw (0.34-rc-0ubuntu5)' is being parsed as a legacy, non PEP 440, version. You
may find odd behavior and sort order. In particular it will be sorted as less
than 0.0. It is recommend to migrate to PEP 440 compatible versions.
- PEP440Warning,
I've discussed this with Barry Warsaw and a few other people and the result is
that yes, it's a bug in _each_ of those packages and those should be fixed.
I think there are two things we need to do:
- a long term plan should be based on fixing all of those one by one upstream
in debian/ubuntu
- a short term plan should be to prevent those additional lines from break our
tests
** Affects: plainbox
Importance: Undecided
Status: Confirmed
** Affects: apturl (Ubuntu)
Importance: Undecided
Status: New
** Affects: python-apt (Ubuntu)
Importance: Undecided
Status: New
** Affects: ufw (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- tests broken by PEP 440 incompatible Debian/Ubuntu packages
+ Plainbox tests are broken by PEP 440 incompatible Debian/Ubuntu packages
** Also affects: apturl
Importance: Undecided
Status: New
** Also affects: python-apt
Importance: Undecided
Status: New
** Also affects: ufw
Importance: Undecided
Status: New
** Project changed: ufw => ufw (Ubuntu)
** Project changed: python-apt => python-apt (Ubuntu)
** Project changed: apturl => apturl (Ubuntu)
** Changed in: plainbox
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ufw in Ubuntu.
https://bugs.launchpad.net/bugs/1465549
Title:
Plainbox tests are broken by PEP 440 incompatible Debian/Ubuntu
packages
Status in PlainBox - Toolkit for Hardware / Software Testing:
Confirmed
Status in apturl package in Ubuntu:
New
Status in python-apt package in Ubuntu:
New
Status in ufw package in Ubuntu:
New
Bug description:
When running unit tests on my vivid VM I've noticed that many tests
fail because there are extra lines printed by pkg_resources:
- /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2512:
PEP440Warning: 'apturl (0.5.2ubuntu6)' is being parsed as a legacy, non PEP
440, version. You may find odd behavior and sort order. In particular it will
be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible
versions.
- PEP440Warning,
- /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2512:
PEP440Warning: 'python-apt (0.9.3.11build1)' is being parsed as a legacy, non
PEP 440, version. You may find odd behavior and sort order. In particular it
will be sorted as less than 0.0. It is recommend to migrate to PEP 440
compatible versions.
- PEP440Warning,
- /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2512:
PEP440Warning: 'ufw (0.34-rc-0ubuntu5)' is being parsed as a legacy, non PEP
440, version. You may find odd behavior and sort order. In particular it will
be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible
versions.
- PEP440Warning,
I've discussed this with Barry Warsaw and a few other people and the result
is that yes, it's a bug in _each_ of those packages and those should be fixed.
I think there are two things we need to do:
- a long term plan should be based on fixing all of those one by one
upstream in debian/ubuntu
- a short term plan should be to prevent those additional lines from break
our tests
To manage notifications about this bug go to:
https://bugs.launchpad.net/plainbox/+bug/1465549/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp