From 02bfe5b41ebab2980b178c2cf1b0c443fc6061b3 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 8 May 2025 12:48:12 +0100 Subject: [PATCH] setup: Remove pbr's wsgi_scripts This is technical dead end and not something we're going to be able to support long-term in pbr. We need to push users away from this. This is kept separate from the addition of the 'manila.wsgi' module to allow that to be backported if necessary. Change-Id: Icaba9424862b883388bf68d2c3d48138b7b906b0 Signed-off-by: Stephen Finucane --- .../notes/remove-manila-wsgi-script-07f9a4d00a165f4c.yaml | 8 ++++++++ setup.cfg | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/remove-manila-wsgi-script-07f9a4d00a165f4c.yaml diff --git a/releasenotes/notes/remove-manila-wsgi-script-07f9a4d00a165f4c.yaml b/releasenotes/notes/remove-manila-wsgi-script-07f9a4d00a165f4c.yaml new file mode 100644 index 0000000000..9329bd2c75 --- /dev/null +++ b/releasenotes/notes/remove-manila-wsgi-script-07f9a4d00a165f4c.yaml @@ -0,0 +1,8 @@ +--- +upgrade: + - | + The WSGI script ``manila-wsgi`` has been removed. Deployment tooling + should instead reference the Python module path for the wsgi module in + Manila, ``manila.wsgi.api:application`` if their chosen WSGI server + supports this (gunicorn, uWSGI, etc.) or implement a ``.wsgi`` script + themselves if not (mod_wsgi). diff --git a/setup.cfg b/setup.cfg index e9ece81bd8..ec5ce839f5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,8 +38,6 @@ console_scripts = manila-scheduler = manila.cmd.scheduler:main manila-share = manila.cmd.share:main manila-status = manila.cmd.status:main -wsgi_scripts = - manila-wsgi = manila.wsgi.wsgi:initialize_application manila.scheduler.filters = AffinityFilter = manila.scheduler.filters.affinity:AffinityFilter AntiAffinityFilter = manila.scheduler.filters.affinity:AntiAffinityFilter