Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #90473

Updating a package on PyPi, testing and etiquette

From Rob Gaddi <rgaddi@technologyhighland.invalid>
Newsgroups comp.lang.python
Subject Updating a package on PyPi, testing and etiquette
Date 2015-05-12 18:01 +0000
Organization A noiseless patient Spider
Message-ID <mitf66$2sq$4@dont-email.me> (permalink)

Show all headers | View raw


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.

B) If I can't manage that, what's the etiquette behind having later 
versions of a module break compatibility with older versions of Python.  
I've avoided using features I know are newer, like yield from and Enums, 
but I won't swear it'll work on 3.0 if I can't test it that way.

-- 
Rob Gaddi, Highland Technology -- www.highlandtechnology.com
Email address domain is currently out of order.  See above to fix.

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Updating a package on PyPi, testing and etiquette Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-05-12 18:01 +0000
  Re: Updating a package on PyPi, testing and etiquette Ned Batchelder <ned@nedbatchelder.com> - 2015-05-12 11:18 -0700
    Re: Updating a package on PyPi, testing and etiquette Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-13 12:17 +1000
  Re: Updating a package on PyPi, testing and etiquette Ben Finney <ben+python@benfinney.id.au> - 2015-05-13 08:35 +1000
    Re: Updating a package on PyPi, testing and etiquette Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-05-12 23:54 +0000
      Re: Updating a package on PyPi, testing and etiquette Ben Finney <ben+python@benfinney.id.au> - 2015-05-13 10:08 +1000

csiph-web