Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685518 - dev-python/setuptools_scm-3.2.0: stablereq
Summary: dev-python/setuptools_scm-3.2.0: stablereq
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on: 676024 685752 689766
Blocks:
  Show dependency tree
 
Reported: 2019-05-10 12:54 UTC by Michał Górny
Modified: 2020-03-29 09:57 UTC (History)
4 users (show)

See Also:
Package list:
dev-python/setuptools_scm-3.2.0
Runtime testing required: ---
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-05-10 12:54:24 UTC
Please stabilize.

Keywords for dev-python/setuptools_scm:
          |                             a     |       |  
          |                             m     |       |  
          |                             d   x |       |  
          |                             6   8 |       |  
          |                             4   6 |   u   |  
          | a a   a     p r           s |   | |   n   |  
          | l m   r i   p i   h m s   p f m f | e u s | r
          | p d a m a p c s x p 6 3   a b i b | a s l | e
          | h 6 r 6 6 p 6 c 8 p 8 9 s r s p s | p e o | p
          | a 4 m 4 4 c 4 v 6 a k 0 h c d s d | i d t | o
----------+-----------------------------------+-------+-------
1.15.6-r1 | + + + + + + + o + + + + + + ~ ~ o | 6 o 0 | gentoo
1.15.7    | ~ ~ ~ ~ ~ ~ ~ o ~ ~ ~ ~ ~ ~ ~ ~ o | 6 #   | gentoo
 3.2.0    | ~ ~ ~ ~ ~ ~ ~ o ~ ~ ~ ~ ~ ~ ~ ~ o | 6 #   | gentoo
 3.3.1    | ~ ~ ~ ~ ~ ~ ~ o ~ ~ ~ ~ ~ ~ ~ ~ o | 6 o   | gentoo
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-05-10 12:57:14 UTC
Oh, lemme just fix that one.
Comment 2 Rolf Eike Beer archtester 2019-05-11 08:10:21 UTC
sparc stable
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-05-11 11:11:35 UTC
amd64 stable
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2019-05-12 19:50:50 UTC
x86 stopped stabilization due to bug 685752.
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2019-05-13 00:42:43 UTC
x86 stable
Comment 6 João P. Teixeira 2019-05-13 08:44:01 UTC
In one of my systems,  dev-python/setuptools_scm-3.2.0 is being blocked by dev-python/setuptools_scm-1.15.6-r1. The later is being pulled by:

dev-python/pyzmq-16.0.2
   dev-python/ipyparallel-6.0.2-r1
   dev-python/jupyter_client-5.1.0-r1
   dev-python/qtconsole-4.3.1
      dev-python/ipython-5.4.1-r2 (qt5)        <-- Maybe the problem is here
         dev-python/sympy-1.0-r1
            ...

emerge still works if I block dev-python/setuptools_scm-3.2.0
Comment 7 arno.hilke 2019-05-13 16:23:02 UTC
I had the same problem as João Paulo Teixeira. For now, I unmerged setuptools_scm-1.15.6-r1 and re-emerged setuptools_scm-3.2.0 without any obvious problem. I also re-emerged my packages that pull in setuptools_scm, just to be sure (dev-python/pluggy, dev-python/py, dev-python/python-dateutil, dev-python/pytest).
Comment 8 Tim Buchheim 2019-05-13 21:20:53 UTC
The problem is that setuptools_scm-3.2.0.ebuild has a hard block on older versions:
DEPEND=!!<dev-python/setuptools_scm-3

So if you have an older version installed it will block itself so you can't upgrade it. This seems like an odd choice.


Here's an example of it on a clean system without any version setuptools_scm installed. I installed the old version and then tried to upgrade it, resulting in the hard block:

13:18 [root@vilkes:/mnt/home/tcb]
12 # emerge -a1 \=setuptools_scm-1.15.6-r1

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-python/setuptools_scm-1.15.6-r1  USE="-git -mercurial -test" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_5" 

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-python/setuptools_scm-1.15.6-r1::gentoo
>>> Installing (1 of 1) dev-python/setuptools_scm-1.15.6-r1::gentoo
>>> Jobs: 1 of 1 complete                           Load avg: 0.22, 0.05, 0.02
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
13:18 [root@vilkes:/mnt/home/tcb]
13 # emerge -a1 setuptools_scm          

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] dev-python/setuptools_scm-3.2.0 [1.15.6-r1] PYTHON_TARGETS="(-python3_7)" 
[blocks B      ] <dev-python/setuptools_scm-3 ("<dev-python/setuptools_scm-3" is hard blocking dev-python/setuptools_scm-3.2.0)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (dev-python/setuptools_scm-3.2.0:0/0::gentoo, ebuild scheduled for merge) pulled in by
    setuptools_scm
Comment 9 Michael Palimaka (kensington) gentoo-dev 2019-05-14 10:43:01 UTC
Regarding the hard blocker, from the gitlog:

commit 0d55fb2434771a28e4e0d8a8929bdb6212b4f32b
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Fri May 10 16:30:56 2019 +0200
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Fri May 10 16:35:59 2019 +0200

    dev-python/setuptools_scm: Block old versions
    
    Block old versions since presence of one causes the build to fail.
    A better solution than a blocker would be preferred but after spending
    over an hour fighitng it I wasn't able to come up with one.
    
    Closes: https://bugs.gentoo.org/676024
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
Comment 10 Gary E. Miller 2019-05-14 18:05:44 UTC
(In reply to arno_hilke from comment #7)
> I had the same problem as João Paulo Teixeira. For now, I unmerged
> setuptools_scm-1.15.6-r1 and re-emerged setuptools_scm-3.2.0 without any
> obvious problem. I also re-emerged my packages that pull in setuptools_scm,
> just to be sure (dev-python/pluggy, dev-python/py,
> dev-python/python-dateutil, dev-python/pytest).

I confirm that uninstalling the old one, and the emerging the new one works fine.

Thanks for the fix!
Comment 11 João P. Teixeira 2019-05-15 07:48:23 UTC
(In reply to Gary E. Miller from comment #10)
> (In reply to arno_hilke from comment #7)
> > I had the same problem as João Paulo Teixeira. For now, I unmerged
> > setuptools_scm-1.15.6-r1 and re-emerged setuptools_scm-3.2.0 without any
> > obvious problem. I also re-emerged my packages that pull in setuptools_scm,
> > just to be sure (dev-python/pluggy, dev-python/py,
> > dev-python/python-dateutil, dev-python/pytest).
> 
> I confirm that uninstalling the old one, and the emerging the new one works
> fine.
> 
> Thanks for the fix!

Unmerging setuptools_scm-1.15.6-r1 and emerging setuptools_scm-3.2.0 also works on my systems. Thanks!
Comment 12 Marko Weber Bürgermeister 2019-05-15 12:56:10 UTC
(In reply to João Paulo Teixeira from comment #11)
> (In reply to Gary E. Miller from comment #10)
> > (In reply to arno_hilke from comment #7)
> > > I had the same problem as João Paulo Teixeira. For now, I unmerged
> > > setuptools_scm-1.15.6-r1 and re-emerged setuptools_scm-3.2.0 without any
> > > obvious problem. I also re-emerged my packages that pull in setuptools_scm,
> > > just to be sure (dev-python/pluggy, dev-python/py,
> > > dev-python/python-dateutil, dev-python/pytest).
> > 
> > I confirm that uninstalling the old one, and the emerging the new one works
> > fine.
> > 
> > Thanks for the fix!
> 
> Unmerging setuptools_scm-1.15.6-r1 and emerging setuptools_scm-3.2.0 also
> works on my systems. Thanks!

i can confirm that. unmerging 1.15.6-r1 works.

marko
Comment 13 Larry the Git Cow gentoo-dev 2019-06-04 07:52:49 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90bd8001e3e40d87f31fe1f199754c57c70d403d

commit 90bd8001e3e40d87f31fe1f199754c57c70d403d
Author:     Tobias Klausmann <klausman@gentoo.org>
AuthorDate: 2019-06-04 07:52:23 +0000
Commit:     Tobias Klausmann <klausman@gentoo.org>
CommitDate: 2019-06-04 07:52:41 +0000

    dev-python/setuptools_scm-3.2.0-r0: alpha stable
    
    Bug: http://bugs.gentoo.org/685518
    Signed-off-by: Tobias Klausmann <klausman@gentoo.org>

 dev-python/setuptools_scm/setuptools_scm-3.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 14 Agostino Sarubbo gentoo-dev 2019-06-04 14:37:23 UTC
ppc64 stable
Comment 15 Agostino Sarubbo gentoo-dev 2019-06-04 18:54:47 UTC
s390 stable
Comment 16 Agostino Sarubbo gentoo-dev 2019-06-05 07:13:56 UTC
ppc stable
Comment 17 Agostino Sarubbo gentoo-dev 2019-06-05 07:30:51 UTC
ia64 stable
Comment 18 Rolf Eike Beer archtester 2019-07-13 17:54:46 UTC
hppa stable
Comment 19 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-07-28 20:09:23 UTC
arm stable
Comment 20 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-07-28 20:09:44 UTC
m68k stable
Comment 21 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-07-28 20:10:08 UTC
sh stable