Need explanations on version numbers

2 views
Skip to first unread message

Cilyan Olowen

unread,
Jun 16, 2009, 8:35:40 AM6/16/09
to gaphor-dev
Hello

I'm the packager for ArchLinux and I'm trying to package Gaphor 0.13.1
along with Gaphas 0.4.0. I download sources from PyPI. In Gaphor
0.13.1, the NEWS file says "0.13.1 : - update to gaphas 0.4", but in
setup.py and when running the soft, I got
"pkg_resources.DistributionNotFound: gaphas>=0.3.0,<0.4". Indeed,
gaphas version is =0.4.0. So which version should I use ?

In Gaphas tarball, there is no ez_setup.py. Normally, you should
provide this file, as it is done in Gaphor tarball.

zope.component requires zope.interface and zope.event. zope.testing is
optional and used to test the code. zope.proxy, zope.deferredimport
and zope.deprecation are not needed. If gaphor needs them (I couldn't
test) you should include them in the setup.py file, or delete them
from your website.

I can't stand waiting this new version. Did you improve file loading ?

Cilyan

Arjan Molenaar

unread,
Jun 16, 2009, 10:02:43 AM6/16/09
to gapho...@googlegroups.com

On 16 Jun 2009, at 14:35, Cilyan Olowen wrote:

>
> Hello
>
> I'm the packager for ArchLinux and I'm trying to package Gaphor 0.13.1
> along with Gaphas 0.4.0. I download sources from PyPI. In Gaphor
> 0.13.1, the NEWS file says "0.13.1 : - update to gaphas 0.4", but in
> setup.py and when running the soft, I got
> "pkg_resources.DistributionNotFound: gaphas>=0.3.0,<0.4". Indeed,
> gaphas version is =0.4.0. So which version should I use ?

Indeed. The comment in the NEWS file is a bit clumsy. Sorry for that.
What I ment to say is that 0.13.1 does not work with version 0.4. You
should use Gaphas 0.3.7 for that. Gaphor still has to be released with
0.4 support.

> In Gaphas tarball, there is no ez_setup.py. Normally, you should
> provide this file, as it is done in Gaphor tarball.

I see. I'm not sure why it doesn't include that. It looks like it's
not needed anymore (at least with my version of setuptools: 0.6c9).

> zope.component requires zope.interface and zope.event. zope.testing is
> optional and used to test the code. zope.proxy, zope.deferredimport
> and zope.deprecation are not needed. If gaphor needs them (I couldn't
> test) you should include them in the setup.py file, or delete them
> from your website.

I'll check.

> I can't stand waiting this new version. Did you improve file loading ?

Yep. Among some other things ;). Most importantly the way signals
(events) are handled by diagram items.

As you may have read in a previous mail, we need to get our stuff of
of devjavu.com, since the site is closing :(.

I've uploaded a developer release to the PyPI.


Cilyan Olowen

unread,
Jun 16, 2009, 11:00:22 AM6/16/09
to gapho...@googlegroups.com
2009/6/16 Arjan Molenaar <gap...@gmail.com>:

>
>
> On 16 Jun 2009, at 14:35, Cilyan Olowen wrote:
>
>>
>> Hello
>>
>> I'm the packager for ArchLinux and I'm trying to package Gaphor 0.13.1
>> along with Gaphas 0.4.0. I download sources from PyPI. In Gaphor
>> 0.13.1, the NEWS file says "0.13.1 : - update to gaphas 0.4", but in
>> setup.py and when running the soft, I got
>> "pkg_resources.DistributionNotFound: gaphas>=0.3.0,<0.4". Indeed,
>> gaphas version is =0.4.0. So which version should I use ?
>
> Indeed. The comment in the NEWS file is a bit clumsy. Sorry for that.
> What I ment to say is that 0.13.1 does not work with version 0.4. You
> should use Gaphas 0.3.7 for that. Gaphor still has to be released with
> 0.4 support.

I could not find any Gaphas 0.3.7. The last version known from PyPI
before 0.4.0 is 0.3.6. Is that correct ?

>> In Gaphas tarball, there is no ez_setup.py. Normally, you should
>> provide this file, as it is done in Gaphor tarball.
>
> I see. I'm not sure why it doesn't include that. It looks like it's
> not needed anymore (at least with my version of setuptools: 0.6c9).

This is the version I use. The preamble of ez_setup.py is "If you want
to use setuptools in your package's setup.py, just include this file
in the same directory with it" so I imagine it is still required.[1]

Do you know if ASCEND uses 0.3.6, 0.4.0 or is still attached to trunk ?

Cilyan

[1] http://peak.telecommunity.com/dist/ez_setup.py

John Pye

unread,
Aug 10, 2009, 2:20:37 AM8/10/09
to gapho...@googlegroups.com, ascend developers
Hi Cilyan

I'm with the ASCEND project, I just noticed your question from a few
weeks back.

The answer is that ASCEND still only has pre-alpha support for
'canvas-based' modelling. We're stuck to the Gaphas trunk still, at this
stage, although version 0.4.0 works for me. Our installers still don't
install any of the Gaphas-related stuff, so there's no dependency of
ASCEND (as-installed) on Gaphas just yet. Hopefully soon though!

A lot of new ASCEND development with canvas-based modelling has been
proceeding with our GSOC student, Arijit, but his work isn't merged back
to ASCEND's svn trunk yet, either.

Cheers
JP

Cilyan Olowen

unread,
Aug 15, 2009, 2:54:57 PM8/15/09
to gapho...@googlegroups.com, ascend developers
Hi all.

All right, so at the moment I will just consider putting on the
repositories the version of Gaphas needed by Gaphor.

Good luck in your developments.

Cilyan

2009/8/10 John Pye <jo...@curioussymbols.com>:
Reply all
Reply to author
Forward
0 new messages