summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2024-02-07 23:28:02 -0700
committerMichael Merickel <michael@merickel.org>2024-02-07 23:28:02 -0700
commitd918c8fe0e4ed5cd446aaae839eb4ee34cbead86 (patch)
tree97496df0748fef80620f8df9cfebe38ee7541bc7
parentbd21568e61248e51f48a9a146cb837fa0252d162 (diff)
downloadpyramid-d918c8fe0e4ed5cd446aaae839eb4ee34cbead86.tar.gz
pyramid-d918c8fe0e4ed5cd446aaae839eb4ee34cbead86.tar.bz2
pyramid-d918c8fe0e4ed5cd446aaae839eb4ee34cbead86.zip
add deprecation to changelog
-rw-r--r--CHANGES.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index e712449ca..30005c96f 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -61,6 +61,17 @@ Backward Incompatibilities
These have been deprecated in Python's gettext module since 3.8, and
removed in Python 3.11.
+Deprecations
+------------
+
+- Deprecated the ability to use a non-existent package with
+ ``pyramid.config.Configurator.add_static_view`` and
+ ``pyramid.static.static_view``. This can be fixed by choosing a path
+ located within a real package as the ``root_dir`` for your static files.
+ This is almost always either a misconfig or an attempt to define an alias
+ location for use with ``pyramid.config.Configurator.override_asset``.
+ See https://github.com/Pylons/pyramid/pull/3752
+
Documentation Changes
---------------------