Re: [pylons-discuss] Poetry and Pyramid

2020-12-13 Thread Steve Piercy
This would be a good Pyramid Community Cookbook recipe. https://docs.pylonsproject.org/projects/pyramid_cookbook/en/latest/ --steve On 12/13/20 3:13 PM, Michael Merickel wrote: > I cooked up a pyproject.toml that almost works like the setuptools version > for the Pyramid scaffold. There is one

Re: [pylons-discuss] Poetry and Pyramid

2020-12-13 Thread Matt Feifarek
Amazing! Thank you! I was going to sit down this evening and try and thread this together. You probably saved me hours of work! :-) On Sun, Dec 13, 2020 at 5:13 PM Michael Merickel wrote: > I cooked up a pyproject.toml that almost works like the setuptools version > for the Pyramid scaffold. T

Re: [pylons-discuss] Poetry and Pyramid

2020-12-13 Thread Michael Merickel
I cooked up a pyproject.toml that almost works like the setuptools version for the Pyramid scaffold. There is one minor difference in which files are included in the sdist versus wheel, but it's an open bug in poetry to fix. You simply use this file in your project, then do things like `poetry i

Re: [pylons-discuss] Pyramid authentication callback not being called

2020-12-13 Thread Michael Merickel
The groupfinder is only invoked on requests that check authentication information. For example a view with a "permission=..." constraint or when calling request.authenticated_userid, or request.has_permission(...). It is not invoked for every request. - Michael > On Dec 12, 2020, at 11:40, Pre