[PATCH 1 of 6] setup.py: allow Paste 3.0.x

Thomas De Schampheleire patrickdepinguin at gmail.com
Sat Dec 29 13:52:24 UTC 2018


El sáb., 29 dic. 2018 a las 0:58, Mads Kiilerich
(<mads at kiilerich.com>) escribió:
>
>
> # HG changeset patch
> # User Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
> # Date 1546030612 -3600
> #      Fri Dec 28 21:56:52 2018 +0100
> # Node ID 43b3bbf90a48adfcfb4837655cffee3a939bf48f
> # Parent  445d6875c2eefdd8d10676e761cfe1e82581f78a
> setup.py: allow Paste 3.0.x
>
>
> My main concern for whitelisting new major versions of dependencies is whether they are sufficiently backwards compatible. We should try to mitigate that with some amount of testing and review, and preferably a brief mentioning of it in the commit message.
>
> What can be said about this upgrade?

Paste has a new maintainer and moved to github, after years of
inactivity (March 2016 -> Oct 2018). There have AFAICS not been
incompatible changes. This analysis is based on:
- the news file: https://pythonpaste.readthedocs.io/en/latest/news.html
- the commit message of the 3.0.0 release:
(https://github.com/cdent/paste/commit/9ceef07267ba83ea5c00533f85f9edf9ba38cd71)

"This is for the sake of getting something out there, including
fixes to get stuff working with Python 3.7."

- and a walk through the commits since 2.0.3 on github
(https://github.com/cdent/paste/commits/master).

Note also that on the stable branch, there already is Paste 3.x if you
install from a fresh virtualenv, although this is no guarantee by
itself.


>
>
> Note that we also *could* upgrade and support:
>
> celery==4.2.1
> Markdown==3.0.1
> Pygments==2.3.1
> pytest==4.0.2
> pytest-localserver==0.5.0
> Routes==2.4.1
> Sphinx==1.8.3
>
> - but I know that some of these break things and are non-trivial ...

I generally think that we should try to stay more or less up-to-date
with the versions of external components. Staying on old versions will
cause problems at some point.
But, this desire should be weighed against time/effort factors. From
the list above, I think celery could be more important to investigate
than the others.
(One specific issue I have, but probably related to how we call
celery, rather than a problem inside celery itself, is that if the
smtp server responds with "Try again later" then the message is not
queued and thus lost).

Do you have more details about which of these upgrades you know break things?

Ideally, our test suite would catch any such breakage: if the tests
pass, the upgrade should be fine. If that is not the case, then we
need to improve our test suite.

Best regards,
Thomas


More information about the kallithea-general mailing list