#2354 closed defect (fixed)

new version of setuptools changes semantics of version alternatives

Reported by: zooko Owned by: warner
Priority: critical Milestone: 1.10.1
Component: packaging Version: 1.10.0
Keywords: setuptools reviewed Cc:
Launchpad Bug:


<zooko> dstufft: we have a packaging mystery.  [20:04]
<dstufft> what's up  [20:05]
<dstufft> oh
<dstufft> setuptools 8 implements PEP 440
<dstufft> PEP 440 makes the meaning of , change from "a bunch of arbitrary
	  confusing crap that PJE invented in the past" to "AND"  [20:06]
<zooko> Oh boy.
<dstufft> and a single version cannot be equal to 2.1.0 AND 2.3.0 and also be
	  greater than or equal to 2.4.1  [20:07]
<zooko> That's ...
* zooko is speechless
<dstufft> well it makes the specifiers follow a consistent and easy to follow
	  logic  [20:08]
<jg71> that would explain some of the insane foo i observed myself playing
       with the master branch, where all deps were met 
<jg71> i couldnt trace stuff so i didnt report  [20:09]

Change History (11)

comment:1 Changed at 2014-12-22T20:19:39Z by zooko

  • Component changed from unknown to packaging
  • Keywords setuptools added

comment:2 Changed at 2014-12-22T21:17:58Z by daira



comment:3 Changed at 2014-12-22T23:53:47Z by daira

  • Keywords review-needed added
  • Milestone changed from undecided to 1.11.0
  • Owner set to zooko
  • Priority changed from normal to critical

comment:5 Changed at 2015-01-18T22:25:27Z by daira

Zooko, please review!

comment:6 Changed at 2015-01-20T17:57:16Z by zooko

  • Status changed from new to assigned

comment:7 Changed at 2015-01-20T18:15:45Z by zooko

  • Owner changed from zooko to daira
  • Status changed from assigned to new


comment:8 Changed at 2015-01-20T18:20:19Z by warner

  • Owner changed from daira to warner
  • Status changed from new to assigned

I will rebase and land

comment:9 Changed at 2015-01-20T18:26:57Z by daira

  • Keywords reviewed added; review-needed removed

comment:10 Changed at 2015-01-20T19:15:08Z by warner

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in ef455df and e73d76eb.

comment:11 Changed at 2015-05-07T13:00:12Z by zooko

Turns out this bug just broke Tahoe-LAFS in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/tahoe-lafs/+bug/1452689

Note: See TracTickets for help on using tickets.