You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2025/11/21 19:05:06 UTC

(allura) branch db/8589 created (now 6672b3ef3)

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a change to branch db/8589
in repository https://gitbox.apache.org/repos/asf/allura.git


      at 6672b3ef3 [#8589] ignore some warnings starting on 3.14

This branch includes the following new commits:

     new 2e5cd357f [#8589] switch to python 3.14 in docs and defaults
     new 6672b3ef3 [#8589] ignore some warnings starting on 3.14

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(allura) 01/02: [#8589] switch to python 3.14 in docs and defaults

Posted by br...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch db/8589
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 2e5cd357fb42ed61b38008ed1d6c6f401fb0125a
Author: Dave Brondsema <db...@slashdotmedia.com>
AuthorDate: Fri Nov 21 10:28:31 2025 -0500

    [#8589] switch to python 3.14 in docs and defaults
---
 Allura/docs/conf.py                               | 2 +-
 Allura/docs/getting_started/install_each_step.rst | 8 ++++----
 Allura/docs/getting_started/installation.rst      | 2 +-
 Dockerfile                                        | 2 +-
 README.markdown                                   | 2 +-
 scripts/init-docker-dev.sh                        | 2 +-
 scripts/jenkins-run.sh                            | 2 +-
 7 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/Allura/docs/conf.py b/Allura/docs/conf.py
index a7a81971a..4b72acbed 100644
--- a/Allura/docs/conf.py
+++ b/Allura/docs/conf.py
@@ -225,5 +225,5 @@
 intersphinx_mapping = {'python': ('https://docs.python.org/3/', None)}
 
 rst_prolog = """
-.. |pyversion| replace:: 3.13
+.. |pyversion| replace:: 3.14
 """
diff --git a/Allura/docs/getting_started/install_each_step.rst b/Allura/docs/getting_started/install_each_step.rst
index 6290d3986..b5f9498a4 100644
--- a/Allura/docs/getting_started/install_each_step.rst
+++ b/Allura/docs/getting_started/install_each_step.rst
@@ -44,7 +44,7 @@ In these instructions, we'll use `VirtualBox <http://www.virtualbox.org>`__ and
 System Packages
 ^^^^^^^^^^^^^^^
 
-Before we begin, you'll need to install some system packages.  Allura currently supports Python 3.10 through 3.13.  The steps below use Python 3.13.
+Before we begin, you'll need to install some system packages.  Allura currently supports Python 3.10 through 3.14.  The steps below use Python 3.14.
 
 .. code-block:: bash
 
@@ -53,7 +53,7 @@ Before we begin, you'll need to install some system packages.  Allura currently
     ~$ sudo apt-get install software-properties-common
     ~$ sudo add-apt-repository ppa:deadsnakes/ppa
     ~$ sudo apt-get update
-    ~$ sudo apt-get install git-core python3.13 python3.13-dev gcc libmagic1 libssl-dev libldap2-dev libsasl2-dev libjpeg8-dev zlib1g-dev libffi-dev
+    ~$ sudo apt-get install git-core python3.14 python3.14-dev gcc libmagic1 libssl-dev libldap2-dev libsasl2-dev libjpeg8-dev zlib1g-dev libffi-dev
 
 To install MongoDB, follow the instructions `here <https://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/>`_.
 
@@ -70,13 +70,13 @@ The first step to installing the Allura platform is installing a virtual environ
 
 .. code-block:: bash
 
-    ~$ sudo apt-get install python3.13-venv
+    ~$ sudo apt-get install python3.14-venv
 
 Then create a virtual environment.  We'll call our Allura environment 'env-allura'.
 
 .. code-block:: bash
 
-    ~$ python3.13 -m venv env-allura
+    ~$ python3.14 -m venv env-allura
 
 This gives us a nice, clean environment into which we can install all the allura dependencies.
 In order to use the virtual environment, you'll need to activate it:
diff --git a/Allura/docs/getting_started/installation.rst b/Allura/docs/getting_started/installation.rst
index 007084e0e..8a194e612 100644
--- a/Allura/docs/getting_started/installation.rst
+++ b/Allura/docs/getting_started/installation.rst
@@ -279,7 +279,7 @@ If you'd like to use another webserver, here are a few options:
 .. code-block:: bash
 
     ~$ pip install mod_wsgi  # requires httpd2 devel libraries installed in the system
-    ~$ mod_wsgi-express start-server development.ini --application-type paste --user allura --group allura --port 8080  --python-path /PATH/TO/VIRTUALENV/lib/python3.13/site-packages/
+    ~$ mod_wsgi-express start-server development.ini --application-type paste --user allura --group allura --port 8080  --python-path /PATH/TO/VIRTUALENV/lib/python3.14/site-packages/
 
 For any other wsgi server (e.g. mod_wsgi with Apache, or waitress) you will need a wsgi callable set up like this:
 
diff --git a/Dockerfile b/Dockerfile
index 2ef373f02..35c713009 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -17,7 +17,7 @@
 
 FROM ubuntu:22.04
 
-ARG PY_VERSION=3.13
+ARG PY_VERSION=3.14
 
 ARG NODE_MAJOR=16
 
diff --git a/README.markdown b/README.markdown
index 27deb74bd..7b18287f8 100644
--- a/README.markdown
+++ b/README.markdown
@@ -22,7 +22,7 @@
 # Apache Allura
 
 [![Build Status](https://builds.apache.org/buildStatus/icon?job=Allura%2FAllura-py3.10&subject=py3.10)](https://builds.apache.org/job/Allura)
-[![Build Status](https://builds.apache.org/buildStatus/icon?job=Allura%2FAllura-py3.13&subject=py3.13)](https://builds.apache.org/job/Allura)
+[![Build Status](https://builds.apache.org/buildStatus/icon?job=Allura%2FAllura-py3.14&subject=py3.14)](https://builds.apache.org/job/Allura)
 
 Allura is an open source implementation of a software "forge", a web site that manages source code repositories, bug reports, discussions, mailing lists, wiki pages, blogs and more for any number of individual projects.
 
diff --git a/scripts/init-docker-dev.sh b/scripts/init-docker-dev.sh
index b3cac3cd6..2e5c4d439 100755
--- a/scripts/init-docker-dev.sh
+++ b/scripts/init-docker-dev.sh
@@ -40,7 +40,7 @@ cp /allura/Allura/allura/public/nf/favicon.ico /allura-data/www-misc/favicon.ico
 rm -rf /allura-data/virtualenv
 if [ ! -e /allura-data/virtualenv ]; then
     echo -e "Creating virtualenv\n"
-    PYTHON_EXE="${PYTHON_EXE:-python3.13}"  # should always be set from Dockerfile, but set default value just in case
+    PYTHON_EXE="${PYTHON_EXE:-python3.14}"  # should always be set from Dockerfile, but set default value just in case
     $PYTHON_EXE -m venv /allura-data/virtualenv
     /allura-data/virtualenv/bin/pip install -U pip
     /allura-data/virtualenv/bin/pip install -U wheel
diff --git a/scripts/jenkins-run.sh b/scripts/jenkins-run.sh
index c370b3bab..2a22f7e65 100755
--- a/scripts/jenkins-run.sh
+++ b/scripts/jenkins-run.sh
@@ -19,7 +19,7 @@
 #       under the License.
 
 IMAGE_TAG=allura
-PY_VERSION="${PY_VERSION:-3.13}"
+PY_VERSION="${PY_VERSION:-3.14}"
 
 echo
 echo "============================================================================="


(allura) 02/02: [#8589] ignore some warnings starting on 3.14

Posted by br...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch db/8589
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 6672b3ef3404ed4b7e32a37a8c6d3fdaaca2db0f
Author: Dave Brondsema <db...@slashdotmedia.com>
AuthorDate: Fri Nov 21 10:28:55 2025 -0500

    [#8589] ignore some warnings starting on 3.14
---
 pytest.ini | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pytest.ini b/pytest.ini
index 18dfbf9c0..2e92daead 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -45,6 +45,10 @@ filterwarnings =
     ignore:'cgi' is deprecated:DeprecationWarning:webob.compat
     ignore:'cgi' is deprecated:DeprecationWarning:formencode.validators
 
+    # py3.14
+    ignore:datetime\.datetime\.utcnow\(\) is deprecated and scheduled for removal.*:DeprecationWarning
+    ignore:datetime\.datetime\.utcfromtimestamp\(\) is deprecated and scheduled for removal.*:DeprecationWarning
+
     # https://github.com/pallets/jinja/issues/1156
     error:invalid escape sequence::jinja2.lexer