substanced
substanced copied to clipboard
Modernize python support
- Drop old Python versions (< 3.8), add newer ones (up to 3.12).
- Remove all the "straddle" compatibility stuff FBO Python 2.7
- Pin
pyramid< 2.0dev, until it can be reviewed in depth. - Fix deprecation warnings from
pyramid. - Silence deprecation warnings related to
pkg_resources. - Make 'py.test' the testrunner (to support the newer Python versions).
- Replace
cryptacularwith plainbcrypt-- theensconsbuilder thatcryptacularneeds barfs on Python 3.12.
Lol you're nuts.
I'll try to go over it over the weekend or possibly next week, because the last time I tried it with e.g. youshouldsing under Pyramid 2.X, it was very unhappy.
@mcdonc Thanks. Note that this PR doesn't tackle compatibility with Pyramid 2 (it actually adds a pin against it). The Pyramid-induces changes are purely about deprecations, some of which (laughably) have to be removed / redone for Pyramid 2 support.