Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #90478
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2015-05-12 11:50 -0700 |
| References | <mailman.409.1431456080.12865.python-list@python.org> |
| Message-ID | <33d9e2e7-1227-47ba-864e-c45898df9e57@googlegroups.com> (permalink) |
| Subject | Re: Updating a package on PyPi, testing and etiquette |
| From | Ned Batchelder <ned@nedbatchelder.com> |
On Tuesday, May 12, 2015 at 2:41:51 PM UTC-4, Albert-Jan Roskam wrote: > ----------------------------- > On Tue, May 12, 2015 8:01 PM CEST Rob Gaddi wrote: > > >So I've got a package I put up on PyPi a while back (ctypes-bitfield, if > >it matters). For version 0.2.6 I had access to some older versions of > >Python and was able to run my test suite on Python 2.6 and 3.0. > > > >Well, I don't have them anymore. I've got no access right now to > >anything older than 2.7 and 3.2, and my primary development environment > >is 3.4. But I've also updated the package to support what I consider to > >be some really nice new functionality. So, it comes down to two > >questions: > > > >A) Is there any easy way to test against an older version of Python? > >Preferably without trying to install entire old environments and keep > >them nicely isolated from my actual doing work? I'm running Ubuntu for > >what difference that makes. > > I use tox, it's available on pypi. Works with virtualenv. There's also detox, which runs your unittests in parellel, but I have not used that. Oh, yes, use tox. I should have clarified: I use pythonz to install different versions of Python, then tox to run my test suite against a variety of those versions. --Ned.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Updating a package on PyPi, testing and etiquette Albert-Jan Roskam <fomcl@yahoo.com> - 2015-05-12 11:36 -0700 Re: Updating a package on PyPi, testing and etiquette Ned Batchelder <ned@nedbatchelder.com> - 2015-05-12 11:50 -0700
csiph-web