when versions and develop section both refer to package, prefer develop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
New
|
Undecided
|
Unassigned |
Bug Description
When you fix versions using 'versions' in the [buildout] section, and you also place the same package in the develop section,
the version indicated in the versions section is preferred. This means that you need to *remove* the version from the
versions list first in order to change a package into a develop package, otherwise the released version will continue to be picked up. This makes
life harder than it should be if you work with long published lists of versions. In order to develop packages, you'd need to copy this long list and remove those packages that you'd want to change.
I think the behavior should be to let 'develop' always override what's in the versions list. If you're going to put packages in the 'develop' list,
you do this explicitly anyway, so there's little risk of mistakes. You want to develop those packages, not use already released versions.
description: | updated |
On Nov 20, 2007, at 6:34 AM, Martijn Faassen wrote:
> Public bug reported:
>
> When you fix versions using 'versions' in the [buildout] section,
> and you also place the same package in the develop section,
> the version indicated in the versions section is preferred. This
> means that you need to *remove* the version from the
> versions list first in order to change a package into a develop
> package, otherwise the released version will continue to be picked
> up. This makes
> life harder than it should be if you work with long published lists
> of versions. In order to develop packages, you'd need to copy this
> long list and remove those packages that you'd want to change.
>
> I think the behavior should be to let 'develop' always override
> what's in the versions list. If you're going to put packages in the
> 'develop' list,
> you do this explicitly anyway, so there's little risk of mistakes.
> You want to develop those packages, not use already released versions.
I don't agree. In fact, I'd like to remove the current preference for
develop eggs, given that:
- develop eggs are also used fro many system package installs :(
- We've decided that setup.py files should have future versions.
Getting back to your use case, can't you just add an empty option for
the package to cancel previous definitions:
[buildout]
develop = checkout_of_foo
[version]
foo =
If this doesn't work, I'd be happy to make it work.
Jim
--
Jim Fulton
Zope Corporation