Pyramid 1.5.3 released

143 views
Skip to first unread message

Michael Merickel

unread,
Feb 22, 2015, 5:14:37 PM2/22/15
to Pylons
Pyramid 1.5.3 has been released. This is a bugfix release, with a few
backports from the 1.6 branch. Here's what happened since 1.5.2:

1.5.3 (2015-02-22)
==================

- Work around an issue where ``pserve --reload`` would leave terminal echo
disabled if it reloaded during a pdb session.
Backported from https://github.com/Pylons/pyramid/pull/1577

- Fixed a failing unittest caused by differing mimetypes on various
OS platforms. See https://github.com/Pylons/pyramid/issues/1405

- Overall improvments for the ``proutes`` command. Added ``--format`` and
``--glob`` arguments to the command, introduced the ``method``
column for displaying available request methods, and improved the ``view``
output by showing the module instead of just ``__repr__``.
See: https://github.com/Pylons/pyramid/pull/1542

- The ``pyramid.renderers.JSONP`` renderer would raise an exception if used
without a request object. It will now fallback to behave like
the ``pyramid.renderers.JSON`` renderer if there is no request object to
derive a callback from. See https://github.com/Pylons/pyramid/pull/1562

- Prevent "parameters to load are deprecated" ``DeprecationWarning``
from setuptools>=11.3. See https://github.com/Pylons/pyramid/pull/1541

- Avoiding timing attacks against CSRF tokens. Backported from
https://github.com/Pylons/pyramid/pull/1574

- ``pserve`` can now take a ``-b`` or ``--browser`` option to open the server
URL in a web browser. See https://github.com/Pylons/pyramid/pull/1533

The documentation for the 1.5.3 release is available at
http://docs.pylonsproject.org/projects/pyramid/en/1.5-branch/

You can install 1.5.3 via PyPI:

easy_install Pyramid==1.5.3

Enjoy, and please report any issues you find to the issue tracker at
https://github.com/Pylons/pyramid/issues

Thanks!

- Michael

Jonathan Vanasco

unread,
Feb 23, 2015, 11:43:56 AM2/23/15
to pylons-...@googlegroups.com

On Sunday, February 22, 2015 at 5:14:37 PM UTC-5, Michael Merickel wrote:
- Work around an issue where ``pserve --reload`` would leave terminal echo
  disabled if it reloaded during a pdb session.
  Backported from https://github.com/Pylons/pyramid/pull/1577  

WOW. Amazing!

I've been blaming osx for this. I resigned myself to just dealing with it.  Never thought pyramid was at fault.  Amazing fix.  Thanks!

Adam Taylor

unread,
Feb 24, 2015, 7:25:39 AM2/24/15
to pylons-...@googlegroups.com
I'm not sure where to report this, but we start our pyramid project using systemd on CentOS7 - the first patch ( https://github.com/Pylons/pyramid/pull/1577) causes a traceback when run with no terminal at all:

Traceback (most recent call last):
File "/opt/clearsky/bin/pserve", line 9, in <module>
load_entry_point('pyramid==1.5.3', 'console_scripts', 'pserve')()
File "/opt/clearsky/lib/python2.7/site-packages/pyramid-1.5.3-py2.7.egg/pyramid/scripts/pserve.py", line 58, in main return command.run()
File "/opt/clearsky/lib/python2.7/site-packages/pyramid-1.5.3-py2.7.egg/pyramid/scripts/pserve.py", line 226, in run install_reloader(int(self.options.reload_interval), [app_spec])
File "/opt/clearsky/lib/python2.7/site-packages/pyramid-1.5.3-py2.7.egg/pyramid/scripts/pserve.py", line 734, in install_reloader ensure_echo_on()
File "/opt/clearsky/lib/python2.7/site-packages/pyramid-1.5.3-py2.7.egg/pyramid/scripts/pserve.py", line 720, in ensure_echo_on attr_list = termios.tcgetattr(fd)

Anyone else?

Thanks,
-Adam

On Sunday, February 22, 2015 at 5:14:37 PM UTC-5, Michael Merickel wrote:

Tres Seaver

unread,
Feb 25, 2015, 2:34:50 PM2/25/15
to pylons-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/24/2015 07:25 AM, Adam Taylor wrote:
> I'm not sure where to report this, but we start our pyramid project
> using systemd on CentOS7 - the first patch (
> https://github.com/Pylons/pyramid/pull/1577
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FPylons%2Fpyramid%2Fpull%2F1577&sa=D&sntz=1&usg=AFQjCNFXHZgYgjkLa167vgFy1ENTL0INUQ>)
> causes a traceback when run with no terminal at all:
>
> Traceback (most recent call last): File "/opt/clearsky/bin/pserve",
> line 9, in <module> load_entry_point('pyramid==1.5.3',
> 'console_scripts', 'pserve')() File
> "/opt/clearsky/lib/python2.7/site-packages/pyramid-1.5.3-
> py2.7.egg/pyramid/scripts/pserve.py", line 58, in main return
> command.run() File
> "/opt/clearsky/lib/python2.7/site-packages/pyramid-1.5.3-
> py2.7.egg/pyramid/scripts/pserve.py", line 226, in run
> install_reloader(int(self.options.reload_interval), [app_spec]) File
> "/opt/clearsky/lib/python2.7/site-packages/pyramid-1.5.3-
> py2.7.egg/pyramid/scripts/pserve.py", line 734, in install_reloader
> ensure_echo_on() File
> "/opt/clearsky/lib/python2.7/site-packages/pyramid-1.5.3-
> py2.7.egg/pyramid/scripts/pserve.py", line 720, in ensure_echo_on
> attr_list = termios.tcgetattr(fd)
>
> Anyone else?

The issue tracker is the place: https://github.com/Pylons/pyramid/issues.


Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tse...@palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJU7iPFAAoJEPKpaDSJE9HY4KwP/1GEc0CrM4uG+dCcSWprxAJR
tfO6N2nmCL01+lKDnOOgHIol1zmBunTGOGT1FhUIQ7PQUQ9SGyc1+PAyyhDA3E9b
a5JarIs8aw8NLuGo1UWxLvjwNjRQpaSLK+cSV83CqysZvn4UP3cbqh3erLOdxycR
NoqTkB1tOwTiqO0QBvSS6zmyf8oHvbuyQPlEb6CjekEIWFP9ppNpQXlI9swsZeme
cKgsGXEOxLdmc5zll6haeyxl+INYjf1n7Ny0q1TExVCfrvblYI96IXAzRRXXl+xC
CrH41NXw1QugDGKVRJ76FGsd3fVTw5DdHP2VTJNaRu3zGT7onmu6p2ykU1LLiwzq
0H15Xe8iciw3EsXDYbaHX3e1vfMGxQfoHig7G22i1H/bOHV899HPTyGfE+Z2nK9i
swERuR0uWVeQiOhmlMWxVXodDtdkKXg8RBGeU4Rtr2ohv9Hc0Aq7Bfw1+ULgwhyo
ZtP7IyxTk95kJ2FVl0wqgE1ZyApaD7Jx45IpnKS5+rOqGC2DBjZYwd/jd6OWCQpq
TNYp7qn6uetkpfZkUtr5m7negwO3C5RiPvpmizvWIKU2n/ivfvoXYzkeDIRwBM5E
dBLTBwr1IPmEDu2PKGOofD3ThlDuuS6SF1iRB4c88ANNojJ8FIxqOQmfvfog/cim
YknnohcJJMbvNyeg9byS
=8ahg
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages