Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698864 - app-admin/ansible-lint-4.0.1 : AttributeError: SpecifierSet object has no attribute split
Summary: app-admin/ansible-lint-4.0.1 : AttributeError: SpecifierSet object has no att...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tony Vroon (RETIRED)
URL: https://github.com/ansible/ansible-li...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-10-29 18:22 UTC by Toralf Förster
Modified: 2021-02-26 14:26 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.30 KB, text/plain)
2019-10-29 18:22 UTC, Toralf Förster
Details
app-admin:ansible-lint-4.0.1:20191029-055128.log (app-admin:ansible-lint-4.0.1:20191029-055128.log,3.90 KB, text/plain)
2019-10-29 18:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,242.63 KB, text/plain)
2019-10-29 18:22 UTC, Toralf Förster
Details
environment (environment,112.87 KB, text/plain)
2019-10-29 18:22 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.25 KB, application/x-bzip)
2019-10-29 18:22 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.64 KB, application/x-bzip)
2019-10-29 18:22 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-10-29 18:22:22 UTC
  File "/usr/lib64/python2.7/site-packages/setuptools/_vendor/packaging/specifiers.py", line 594, in __init__
    specifiers = [s.strip() for s in specifiers.split(",") if s.strip()]
AttributeError: 'SpecifierSet' object has no attribute 'split'
 * ERROR: app-admin/ansible-lint-4.0.1::gentoo failed (compile phase):
 *   (no error message)
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20191025-101801

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *



Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *




repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 29 Oct 2019 02:25:58 +0000

emerge -qpvO app-admin/ansible-lint
[ebuild  N    ] app-admin/ansible-lint-4.0.1  USE="-test" PYTHON_TARGETS="python2_7 python3_6 -python3_5 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2019-10-29 18:22:25 UTC
Created attachment 594400 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-10-29 18:22:28 UTC
Created attachment 594402 [details]
app-admin:ansible-lint-4.0.1:20191029-055128.log
Comment 3 Toralf Förster gentoo-dev 2019-10-29 18:22:30 UTC
Created attachment 594404 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-10-29 18:22:33 UTC
Created attachment 594406 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-10-29 18:22:36 UTC
Created attachment 594408 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-10-29 18:22:39 UTC
Created attachment 594410 [details]
temp.tbz2
Comment 7 Samuel Bernardo 2020-01-07 12:03:40 UTC
Same issue with my profile too...
Comment 8 pva 2020-02-03 12:13:57 UTC
Fixed upstream. This patch resolved issue for me:

https://github.com/ansible/ansible-lint/commit/c91d23b2f82b4efb540168132842b243eb2d8b0d.patch?full_index=1
Comment 9 Larry the Git Cow gentoo-dev 2020-02-10 13:29:52 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ca887070a0a703a063cac54afd4de9053b91590

commit 9ca887070a0a703a063cac54afd4de9053b91590
Author:     Tony Vroon <chainsaw@gentoo.org>
AuthorDate: 2020-02-10 13:29:17 +0000
Commit:     Tony Vroon <chainsaw@gentoo.org>
CommitDate: 2020-02-10 13:29:37 +0000

    app-admin/ansible-lint: Version bump to 4.1.0
    
    Squelch DISTUTILS_USE_SETUPTOOLS as suggested by Ferenc Erki on GitHub.
    Remove unused setuptools-git from DEPEND as per Ferenc Erki on GitHub.
    Scavenge upstream patch identified by Peter on bug 698864 (setuptools).
    Concern for Python 2.7 has now ceased due to EOL.
    
    Closes: https://bugs.gentoo.org/681988
    Bug: https://bugs.gentoo.org/698864
    Closes: https://github.com/gentoo/gentoo/pull/14588
    Reported-by: Lik
    Suggested-by: Ferenc Erki
    Signed-Off-By: Tony Vroon <chainsaw@gentoo.org>
    Package-Manager: Portage-2.3.84, Repoman-2.3.20

 app-admin/ansible-lint/Manifest                    |   1 +
 app-admin/ansible-lint/ansible-lint-4.1.0.ebuild   |  39 +++++
 ...-lint-4.1.0-specifierset-split-setuptools.patch | 175 +++++++++++++++++++++
 3 files changed, 215 insertions(+)
Comment 10 Tony Vroon (RETIRED) gentoo-dev 2020-02-10 13:32:09 UTC
Suggested fix is to remove the 4.0.1 ansible-lint ebuild once 4.1.0 has been tested. (Maintainer approval to commit the moment your tests pass)
Comment 11 Larry the Git Cow gentoo-dev 2021-02-26 14:26:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88e5c71447c9c6765eab6501cfc667ed6935fc84

commit 88e5c71447c9c6765eab6501cfc667ed6935fc84
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-25 17:57:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-02-26 14:25:52 +0000

    app-admin/ansible-lint: Bump to 5.0.2
    
    Closes: https://bugs.gentoo.org/717088
    Closes: https://bugs.gentoo.org/698864
    Closes: https://github.com/gentoo/gentoo/pull/18100
    
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/ansible-lint/Manifest                  |  1 +
 app-admin/ansible-lint/ansible-lint-5.0.2.ebuild | 37 ++++++++++++++++++++++++
 2 files changed, 38 insertions(+)