Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #90502
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Subject | Re: Updating a package on PyPi, testing and etiquette |
| Date | 2015-05-13 08:35 +1000 |
| References | <mitf66$2sq$4@dont-email.me> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.424.1431470123.12865.python-list@python.org> (permalink) |
Rob Gaddi <rgaddi@technologyhighland.invalid> writes:
> A) Is there any easy way to test against an older version of Python?
The convention today is to use Tox for testing one code base using
multiple Python impleemntations, in a single test run.
<URL:https://pypi.python.org/pypi/tox>
> Preferably without trying to install entire old environments and keep
> them nicely isolated from my actual doing work?
That's what Python virtualenv functionality is for, and Tox makes good
use of it. This is well-trod ground.
> 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.
Consult your user community, tell them the issue (maintaining obsolete
Python versions is a lot of effort), and incrementally drop support with
subsequent versions. Give your user community a chance to upgrade their
stuff, but also don't take on an unreasonable burden. Involve them in
the process.
--
\ “Don't be misled by the enormous flow of money into bad defacto |
`\ standards for unsophisticated buyers using poor adaptations of |
_o__) incomplete ideas.” —Alan Kay |
Ben Finney
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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