Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .qubesbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ vm-fc41:
rpm:
build:
- salt.spec
vm-fc42:
rpm:
build:
- salt.spec
vm-fc43:
rpm:
build:
- salt.spec
vm-bookworm:
deb:
build:
Expand Down
14 changes: 11 additions & 3 deletions 0001-Drop-versioned-dependencies.patch
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ diff --git a/requirements/base.txt b/requirements/base.txt
index 0061087e35..a42ff50f7d 100644
--- a/requirements/base.txt
+++ b/requirements/base.txt
@@ -1,34 +1,32 @@
@@ -1,35 +1,33 @@
--constraint=constraints.txt

-Jinja2>=3.1.5
Expand All @@ -42,7 +42,7 @@ index 0061087e35..a42ff50f7d 100644
+packaging>=21.3
looseversion
-tornado>=6.4.1
-aiohttp>=3.9.0
-aiohttp>=3.10.2
+tornado
+aiohttp

Expand All @@ -57,12 +57,14 @@ index 0061087e35..a42ff50f7d 100644
python-gnupg>=0.4.7
cherrypy>=18.6.1
importlib-metadata>=3.3.0
-zipp>=3.19.1
-cryptography>=42.0.0
+zipp
+cryptography

# From old windows.txt requirements file
gitpython>=3.1.37; sys_platform == 'win32'
@@ -44,10 +43,7 @@
@@ -44,14 +43,9 @@

# We need contextvars for salt-ssh

Expand All @@ -76,6 +78,12 @@ index 0061087e35..a42ff50f7d 100644
-jaraco.functools>=4.1.0
+jaraco.text
+jaraco.functools
-timelib>=0.2.5; python_version < '3.11'
-timelib>=0.3.0; python_version >= '3.11'
-frozenlist>=1.3.0; python_version < '3.11'
-frozenlist>=1.5.0; python_version >= '3.11'
+timelib
+frozenlist
diff --git a/requirements/zeromq.txt b/requirements/zeromq.txt
index 4000f5eb01..ec03558d33 100644
--- a/requirements/zeromq.txt
Expand Down
35 changes: 35 additions & 0 deletions 0001-Prepare-salt.utils.process-for-python-3.14.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
From ae4d59aab65f4070422909b63ada813e8d9ac273 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?=
<marmarek@invisiblethingslab.com>
Date: Sun, 14 Sep 2025 04:08:44 +0200
Subject: [PATCH] Prepare salt.utils.process for python 3.14

Python 3.14 changed multiprocessing method from 'fork' to 'forkserver'
on Linux too:
https://github.com/python/cpython/issues/84559

This leads to issue similar to when Python 3.8 changed it on Mac OS:
https://github.com/saltstack/salt/issues/57742

Change the condition to check for != 'fork' instead of == 'spawn'.
---
changelog/68148.changed.md | 1 +
salt/utils/process.py | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/salt/utils/process.py b/salt/utils/process.py
index eeac663c03a..fcc93147dbd 100644
--- a/salt/utils/process.py
+++ b/salt/utils/process.py
@@ -897,7 +897,7 @@ class Process(multiprocessing.Process):
instance._finalize_methods = []
instance.__logging_config__ = salt._logging.get_logging_options_dict()

- if salt.utils.platform.spawning_platform():
+ if multiprocessing.get_start_method() != "fork":
# On spawning platforms, subclasses should call super if they define
# __setstate__ and/or __getstate__
instance._args_for_getstate = copy.copy(args)
--
2.51.0

2 changes: 1 addition & 1 deletion 0002-Drop-Windows-dependencies.patch
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ index a42ff50f7d..73f058c5ff 100644
--- a/requirements/base.txt
+++ b/requirements/base.txt
@@ -33,17 +33,6 @@ cryptography
cherrypy>=18.6.1
importlib-metadata>=3.3.0
zipp
cryptography
-
-# From old windows.txt requirements file
Expand Down
8 changes: 6 additions & 2 deletions contextvars.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ Index: salt-3007.1/requirements/base.txt
===================================================================
--- salt-3007.1.orig/requirements/base.txt 2024-11-06 20:25:51.898374912 +0100
+++ salt-3007.1/requirements/base.txt 2024-11-06 20:26:23.586354279 +0100
@@ -45,7 +45,6 @@ aiohttp>=3.9.0
@@ -45,11 +45,7 @@ aiohttp>=3.9.0
croniter>=0.3.0,!=0.3.22; sys_platform != 'win32'

# We need contextvars for salt-ssh
-contextvars

-# immutables is a requirement of contextvars
-immutables==0.15 ; sys_platform == 'linux'
-immutables>=0.21 ; sys_platform != 'linux'
cryptography>=42.0.0


urllib3>=1.26.20,<2.0.0; python_version < '3.10'
20 changes: 17 additions & 3 deletions debian-pkg/debian/patches/0001-Drop-versioned-dependencies.patch
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ diff --git a/requirements/base.txt b/requirements/base.txt
index 0061087e35..a42ff50f7d 100644
--- a/requirements/base.txt
+++ b/requirements/base.txt
@@ -7,29 +7,27 @@
@@ -1,35 +1,33 @@
--constraint=constraints.txt

-Jinja2>=3.1.5
+Jinja2
jmespath
msgpack>=1.0.0
PyYAML
MarkupSafe
-requests<2.32.0 ; python_version < '3.10'
Expand All @@ -36,7 +42,7 @@ index 0061087e35..a42ff50f7d 100644
+packaging>=21.3
looseversion
-tornado>=6.4.1
-aiohttp>=3.9.0
-aiohttp>=3.10.2
+tornado
+aiohttp

Expand All @@ -51,12 +57,14 @@ index 0061087e35..a42ff50f7d 100644
python-gnupg>=0.4.7
cherrypy>=18.6.1
importlib-metadata>=3.3.0
-zipp>=3.19.1
-cryptography>=42.0.0
+zipp
+cryptography

# From old windows.txt requirements file
gitpython>=3.1.37; sys_platform == 'win32'
@@ -44,10 +43,7 @@
@@ -44,14 +43,9 @@

# We need contextvars for salt-ssh

Expand All @@ -70,6 +78,12 @@ index 0061087e35..a42ff50f7d 100644
-jaraco.functools>=4.1.0
+jaraco.text
+jaraco.functools
-timelib>=0.2.5; python_version < '3.11'
-timelib>=0.3.0; python_version >= '3.11'
-frozenlist>=1.3.0; python_version < '3.11'
-frozenlist>=1.5.0; python_version >= '3.11'
+timelib
+frozenlist
diff --git a/requirements/zeromq.txt b/requirements/zeromq.txt
index 4000f5eb01..ec03558d33 100644
--- a/requirements/zeromq.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,3 @@ index 7574a068e8..d8f7d20b06 100644
else:
--
2.45.2

Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ index a42ff50f7d..73f058c5ff 100644
--- a/requirements/base.txt
+++ b/requirements/base.txt
@@ -33,17 +33,6 @@ cryptography
cherrypy>=18.6.1
importlib-metadata>=3.3.0
zipp
cryptography
-
-# From old windows.txt requirements file
Expand Down
8 changes: 6 additions & 2 deletions debian-pkg/debian/patches/contextvars.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ Index: salt-3007.1/requirements/base.txt
===================================================================
--- salt-3007.1.orig/requirements/base.txt 2024-11-06 20:25:51.898374912 +0100
+++ salt-3007.1/requirements/base.txt 2024-11-06 20:26:23.586354279 +0100
@@ -45,7 +45,6 @@ aiohttp>=3.9.0
@@ -45,11 +45,7 @@ aiohttp>=3.9.0
croniter>=0.3.0,!=0.3.22; sys_platform != 'win32'

# We need contextvars for salt-ssh
-contextvars

-# immutables is a requirement of contextvars
-immutables==0.15 ; sys_platform == 'linux'
-immutables>=0.21 ; sys_platform != 'linux'
cryptography>=42.0.0


urllib3>=1.26.20,<2.0.0; python_version < '3.10'
2 changes: 1 addition & 1 deletion debian-pkg/debian/patches/rpmvercmp.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ index 0061087e35..a42ff50f7d 100644
--- a/requirements/base.txt
+++ b/requirements/base.txt
@@ -28,9 +28,6 @@
cherrypy>=18.6.1
importlib-metadata>=3.3.0
zipp>=3.19.1
cryptography>=42.0.0
-
-# From old requirements/static/pkg/linux.in
Expand Down
2 changes: 1 addition & 1 deletion rel
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2
1
2 changes: 1 addition & 1 deletion rpmvercmp.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ index 0061087e35..a42ff50f7d 100644
--- a/requirements/base.txt
+++ b/requirements/base.txt
@@ -28,9 +28,6 @@
cherrypy>=18.6.1
importlib-metadata>=3.3.0
zipp>=3.19.1
cryptography>=42.0.0
-
-# From old requirements/static/pkg/linux.in
Expand Down
1 change: 0 additions & 1 deletion salt-3007.6.tar.gz.sha512

This file was deleted.

1 change: 1 addition & 0 deletions salt-3007.7.tar.gz.sha512
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f20dc717baab42acfe33d380bbe3124432fc6b984b87549eb145188e70bebf241f028fb37f23fac54b26d030c28195878b86f3184faabc19a013f4a2c4dfce35
1 change: 1 addition & 0 deletions salt.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Patch5: urllib.patch
Patch6: 0001-Drop-versioned-dependencies.patch
Patch7: 0002-Drop-Windows-dependencies.patch
Patch9: 0001-Fix-Python3.13-compatibility-regarding-maxsplit.patch
Patch10: 0001-Prepare-salt.utils.process-for-python-3.14.patch
BuildArch: noarch

%ifarch %{ix86} x86_64
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3007.6
3007.7