summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
12 daysremove pkg_resources callsmainDaniel Schadt
This is mostly based on work by luhn. From a quick test with my pyramid project, it seems to work fine, but I haven't tested more complex setups. At least my template renderings and static files didn't break, and I checked a single asset override which also worked.
12 daysskip property no-name tests on Python 3.13Daniel Schadt
12 daysMerge remote-tracking branch 'luhn/override-get-spec'Daniel Schadt
12 daysMerge remote-tracking branch 'luhn/asset-overrides'Daniel Schadt
2025-08-24Update implementation.Theron Luhn
2025-08-24Update tests.Theron Luhn
2025-08-24Add `get_spec` to `IPackageOverrides`Theron Luhn
2025-08-24Add `get_spec` to `PackageOverrides`Theron Luhn
2025-08-24Add `get_spec` to asset sources.Theron Luhn
2025-08-24Test against actual assets.Theron Luhn
2025-08-24Remove `pkg_resources` dependency from `pyramid.assets`Theron Luhn
2025-08-24Remove `pkg_resources` dependency for `package_path`Theron Luhn
2025-08-24Implement our own version of `resource_filename`.Theron Luhn
2025-08-24bw compat imports.Theron Luhn
2025-08-24Move resolvers into `pyramid.resolver`Theron Luhn
This is necessary to prevent circular dependencies.
2025-06-29Sketch of new asset resolver.Theron Luhn
2024-12-20Merge pull request #3771 from duynhaaa/patch-1Delta Regeer
Update SQLAlchemy integration tutorial to remove `sqlalchemy.MetaData.bind`'s usage
2024-12-06Remove the usage of deprecated 'sqlalchemy.MetaData.bind' attributeNguyễn Hoàng Anh Duy
2024-06-10Merge pull request #3760 from Pylons/tseaver-qt_cleanupTres Seaver
docs: quick tutorial cleanups
2024-06-09chore: remove 'retail_forms' fossilTres Seaver
Ten years on, it has never landed in the generated docs.
2024-06-09fix: store 'came_from' information in the sessionTres Seaver
- As with the previous commit, we want to avoid trusting user-supplied data from the query string or form parameters when constructing redirect URLs. - Storing the route name and matchdict for the view being forbidden in the session allows us to construct the redirect URL on successful login cleanly. - In order to clarify that the logic of storing the 'came from' information is separate from rendering or processing the login form, this PR splits the `@forbidden_view` mapping onto a separate view function.
2024-06-09docs: remove 'came_from' from login viewTres Seaver
- The narrative doesn't discuss this (mis-)feature. - Without any authorization, there is no meaninful reason to remember the 'previous' page. - As a general rule, we want to avoid trusting user-supplied data (i.e., from the query string or form params) when constructing redirect URLs.
2024-03-03Merge pull request #3753 from wainuiomata/security-docs-self-missingMichael Merickel
docs: missing self in SessionSecurityPolicy example
2024-03-03Merge pull request #3754 from wainuiomata/typo-whatsnewMichael Merickel
docs: fix typo in whatsnew MySecurityPolicy should be 'is'
2024-03-02docs: fix typo in whatsnew MySecurityPolicy should be 'is'Rob van der Linde
2024-03-02docs: missing self in SessionSecurityPolicy exampleRob van der Linde
2024-02-08Merge pull request #3752 from Pylons/warn-invalid-packageMichael Merickel
issue a warning if a static view is referencing a package that doesn't exist
2024-02-07fix warning stacklevelMichael Merickel
2024-02-07add deprecation to changelogMichael Merickel
2024-02-07issue a warning if a static view is referencing a package that doesn't existMichael Merickel
2024-02-07add changelog for #3747 and #3751Michael Merickel
2024-02-07Merge pull request #3747 from Pylons/wiki2-sqla-2.0Michael Merickel
upgrade the wiki2 tutorial with the new cookiecutter updates
2024-02-07sync language from zodb tutorial for test sectionsMichael Merickel
2024-02-07Merge pull request #3751 from Pylons/tseaver-refresh-zodb-tutorialMichael Merickel
docs: refresh ZODB wiki tutorial
2024-02-07docs: fold in 'Installing' language from the 'wiki2' refresh (PR #3747)Tres Seaver
2024-02-07docs: fold in 'Distributing' language from the 'wiki2' refresh (PR #3747)Tres Seaver
2024-02-07fix: document test harness config via 'pyproject.toml'Tres Seaver
2024-02-07fix: remove stray mentions of 'setup.py'Tres Seaver
2024-02-07improve the distributing.rstMichael Merickel
2024-02-07fix pytest / coverage referencesMichael Merickel
2024-02-07docs: update ZODB wiki tutorial to cookiecutterTres Seaver
- Describe 'pyproject.toml' usage (replacing 'setup.py', 'pytest.ini', '.coveragerc'). - Document the new PyPA-blessed build process.
2024-02-07fix: apply equivalent change from old 'setup.py'Tres Seaver
2024-02-07chore: sync with cookiecutter:Tres Seaver
- Use 'pyproject.toml' rather than 'setup.py', 'pytest.ini', '.coveragerg'. - Drop 'CHANGES.txt': implementing that in 'pyproject.toml' is a distraction. - Convert README to Markdown.
2024-02-07chore: sync w/ generation from project name 'tutorial'Tres Seaver
2024-02-07chore: sync w/ cookiecutterTres Seaver
Fix applied in this commit: https://github.com/Pylons/pyramid-cookiecutter-starter/commit/8b139f68b7a2a8036d59fcf1bf9df4f46e06349e
2024-02-04Merge pull request #3749 from Pylons/remove-pkg-resources-from-scriptsMichael Merickel
Remove pkg resources from scripts
2024-02-04add changelog for #3749Michael Merickel
2024-02-04remove unused dummy objectsMichael Merickel
2024-02-04replace pkg_resources with importlib.metadata in pshell scriptMichael Merickel
2024-02-04replace pkg_resources with importlib.metadata in pdistreport scriptMichael Merickel