Browse Source

drop python 3.9, more work was needed

Thomas Waldmann 2 days ago
parent
commit
c41d1b1fe2

+ 4 - 2
Vagrantfile

@@ -131,9 +131,11 @@ def packages_openindiana
   return <<-EOF
     pkg install gcc-13 git
     pkg install pkg-config libxxhash
-    ln -sf /usr/bin/python3.9 /usr/bin/python3
+    pkg install python-313
+    ln -sf /usr/bin/python3.13 /usr/bin/python3
+    ln -sf /usr/bin/python3.13-config /usr/bin/python3-config
     python3 -m ensurepip
-    ln -sf /usr/bin/pip3.9 /usr/bin/pip3
+    ln -sf /usr/bin/pip3.13 /usr/bin/pip3
     pip3 install virtualenv
     # let borg's pkg-config find openssl:
     pfexec pkg set-mediator -V 3 openssl

+ 1 - 1
src/borg/archiver/diff_cmd.py

@@ -120,7 +120,7 @@ class DiffMixIn:
         +++++++++++++++++++++++++++
 
         The ``--format`` option uses Python's `format string syntax
-        <https://docs.python.org/3.9/library/string.html#formatstrings>`_.
+        <https://docs.python.org/3.10/library/string.html#formatstrings>`_.
 
         Examples:
         ::

+ 2 - 2
src/borg/archiver/help_cmd.py

@@ -350,11 +350,11 @@ class HelpMixIn:
 
         {now}
             The current local date and time, by default in ISO-8601 format.
-            You can also supply your own `format string <https://docs.python.org/3.9/library/datetime.html#strftime-and-strptime-behavior>`_, e.g. {now:%Y-%m-%d_%H:%M:%S}
+            You can also supply your own `format string <https://docs.python.org/3.10/library/datetime.html#strftime-and-strptime-behavior>`_, e.g. {now:%Y-%m-%d_%H:%M:%S}
 
         {utcnow}
             The current UTC date and time, by default in ISO-8601 format.
-            You can also supply your own `format string <https://docs.python.org/3.9/library/datetime.html#strftime-and-strptime-behavior>`_, e.g. {utcnow:%Y-%m-%d_%H:%M:%S}
+            You can also supply your own `format string <https://docs.python.org/3.10/library/datetime.html#strftime-and-strptime-behavior>`_, e.g. {utcnow:%Y-%m-%d_%H:%M:%S}
 
         {user}
             The user name (or UID, if no name is available) of the user running borg.

+ 1 - 1
src/borg/archiver/list_cmd.py

@@ -72,7 +72,7 @@ class ListMixIn:
         +++++++++++++++++++++++++++
 
         The ``--format`` option uses Python's `format string syntax
-        <https://docs.python.org/3.9/library/string.html#formatstrings>`_.
+        <https://docs.python.org/3.10/library/string.html#formatstrings>`_.
 
         Examples:
         ::

+ 1 - 1
src/borg/archiver/repo_list_cmd.py

@@ -53,7 +53,7 @@ class RepoListMixIn:
         +++++++++++++++++++++++++++
 
         The ``--format`` option uses Python's `format string syntax
-        <https://docs.python.org/3.9/library/string.html#formatstrings>`_.
+        <https://docs.python.org/3.10/library/string.html#formatstrings>`_.
 
         Examples:
         ::