Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev

New zc.queue release?

 

 

Zope dev RSS feed   Index | Next | Previous | View Threaded


m.van.rees at zestsoftware

Dec 16, 2011, 7:57 PM

Post #1 of 8 (269 views)
Permalink
New zc.queue release?

Hi all,

Can someone create a new release of zc.queue? zvezdan and gary are
owners on PyPI.

Since 1.1 there have only been test fixes:

- Fixed undefined ZODB.POSException.StorageTransactionError in tests.

- Let tests pass with ZODB 3.8 and ZODB 3.9.

- Added test extra to declare test dependency on ``zope.testing``.

- Using Python's ``doctest`` module instead of depreacted
``zope.testing.doctest``.

My own use case is that the collective.singing tests pass on Plone 3 but
fail on Plone 4. Using zc.queue trunk fixes the failures on Plone 4
(Plone 3 tests are still fine then).

Tests for zc.queue pass with python2.6 and latest ZODB3 3.10.5 and
transaction 1.2.0. And also with python2.4, ZODB3 3.9.7 and transaction
1.1.1.¯

Thanks,

--
Maurits van Rees http://maurits.vanrees.org/
Web App Programmer at Zest Software: http://zestsoftware.nl
"Logical thinking shows conclusively that logical thinking
is inconclusive." - My summary of Gödel, Escher, Bach

_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )


zvezdan at zope

Dec 17, 2011, 2:40 PM

Post #2 of 8 (255 views)
Permalink
Re: New zc.queue release? [In reply to]

On Dec 16, 2011, at 10:57 PM, Maurits van Rees wrote:

> Can someone create a new release of zc.queue? zvezdan and gary are owners on PyPI.


I'll review and release.


_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )


zvezdan at zope

Dec 17, 2011, 4:10 PM

Post #3 of 8 (253 views)
Permalink
Re: New zc.queue release? [In reply to]

On Dec 17, 2011, at 5:40 PM, Zvezdan Petkovic wrote:
> I'll review and release.

Done.
zc.queue-1.2 is on PyPI.

_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )


m.van.rees at zestsoftware

Dec 17, 2011, 4:13 PM

Post #4 of 8 (252 views)
Permalink
Re: New zc.queue release? [In reply to]

Op 18-12-11 01:10, Zvezdan Petkovic schreef:
> On Dec 17, 2011, at 5:40 PM, Zvezdan Petkovic wrote:
>> I'll review and release.
>
> Done.
> zc.queue-1.2 is on PyPI.

Ah, thanks a lot!

There is a problem with the setup.py of 1.2 though: 'import os' is
missing so it cannot be used. I have fixed it on trunk. Could you
release a new version?

Thanks,


--
Maurits van Rees http://maurits.vanrees.org/
Web App Programmer at Zest Software: http://zestsoftware.nl
"Logical thinking shows conclusively that logical thinking
is inconclusive." - My summary of Gödel, Escher, Bach

_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )


zvezdan at zope

Dec 17, 2011, 4:33 PM

Post #5 of 8 (253 views)
Permalink
Re: New zc.queue release? [In reply to]

On Dec 17, 2011, at 7:13 PM, Maurits van Rees wrote:

> There is a problem with the setup.py of 1.2 though: 'import os' is missing so it cannot be used. I have fixed it on trunk. Could you release a new version?

Done.
zc.queue-1.2.1 is now on PyPI.


P.S. Lessons learned:

1. Run "pyflakes .", not "pyflakes src".
2. Improving setup.py is not an improvement if done in a hurry and
one forgets a crucial import.

:-)

Best regards,

Zvezdan

_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )


m.van.rees at zestsoftware

Dec 17, 2011, 5:35 PM

Post #6 of 8 (256 views)
Permalink
Re: New zc.queue release? [In reply to]

Op 18-12-11 01:33, Zvezdan Petkovic schreef:
>
> On Dec 17, 2011, at 7:13 PM, Maurits van Rees wrote:
>
>> There is a problem with the setup.py of 1.2 though: 'import os' is missing so it cannot be used. I have fixed it on trunk. Could you release a new version?
>
> Done.
> zc.queue-1.2.1 is now on PyPI.

Thank you, much appreciated.


--
Maurits van Rees http://maurits.vanrees.org/
Web App Programmer at Zest Software: http://zestsoftware.nl
"Logical thinking shows conclusively that logical thinking
is inconclusive." - My summary of Gödel, Escher, Bach

_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )


marius at gedmin

Dec 18, 2011, 2:52 AM

Post #7 of 8 (252 views)
Permalink
Re: New zc.queue release? [In reply to]

On Sun, Dec 18, 2011 at 02:35:07AM +0100, Maurits van Rees wrote:
> Op 18-12-11 01:33, Zvezdan Petkovic schreef:
> >
> >On Dec 17, 2011, at 7:13 PM, Maurits van Rees wrote:
> >
> >>There is a problem with the setup.py of 1.2 though: 'import os' is missing so it cannot be used. I have fixed it on trunk. Could you release a new version?
> >
> >Done.
> >zc.queue-1.2.1 is now on PyPI.
>
> Thank you, much appreciated.

One thing leaves me baffled: how was it possible to make the release to
PyPI (which means at the very least python setup.py sdist upload) if
python setup.py had that missing import?

Marius Gedminas
--
http://pov.lt/ -- Zope 3/BlueBream consulting and development
Attachments: signature.asc (0.19 KB)


zvezdan at zope

Dec 18, 2011, 11:33 AM

Post #8 of 8 (252 views)
Permalink
Re: New zc.queue release? [In reply to]

On Dec 18, 2011, at 5:52 AM, Marius Gedminas wrote:
> One thing leaves me baffled: how was it possible to make the release to PyPI (which means at the very least python setup.py sdist upload) if python setup.py had that missing import?

Because buildout was used:

./bin/buildout setup . sdist register upload

Since ./bin/buildout imports zc.buildout.buildout which imports os
it worked.

Zvezdan

_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )

Zope dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.