From: lvdh <lvdh@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] salt: update to 3007.1.
Date: Sat, 02 Nov 2024 18:01:16 +0100 [thread overview]
Message-ID: <20241102170116.3E203311C4@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-52887@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]
There is an updated pull request by lvdh against master on the void-packages repository
https://github.com/lvdh/void-packages salt-3007
https://github.com/void-linux/void-packages/pull/52887
salt: update to 3007.1.
#### Testing the changes
- I tested the changes in this PR: **briefly**, on x86_64-glibc
- The build installs successfully.
- Running `salt-minion` is successful, including connection to an existing `salt-master`.
- Running `salt-master` from this build is untested.
#### Local build testing
- I built this PR locally for my native architecture, **x86_64-glibc**
- I built this PR locally for these architectures, **all crossbuilds**:
- aarch64
- aarch64-musl
- armv6l
- armv6l-musl
- armv7l
- armv7l-musl
- x86_64-musl
#### Additional notes
- `xlint template`: ok
- changes:
- template:
- Update version and checksum.
- patches:
- Remove one patch specific to version `3006.8`.
- Adapt one patch to upstream updates, no functional changes.
A patch file from https://github.com/void-linux/void-packages/pull/52887.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-salt-3007-52887.patch --]
[-- Type: text/x-diff, Size: 3806 bytes --]
From 36ab7a0a7eff40d9e61686a885341677f6dd511a Mon Sep 17 00:00:00 2001
From: Laurens Vanderhoven <lvdh@noxy.be>
Date: Sat, 2 Nov 2024 17:14:26 +0100
Subject: [PATCH] salt: update to 3007.1.
---
srcpkgs/salt/patches/fix-3006.3-on-py12.patch | 37 -------------------
srcpkgs/salt/patches/requirements.patch | 13 ++++---
srcpkgs/salt/template | 4 +-
3 files changed, 9 insertions(+), 45 deletions(-)
delete mode 100644 srcpkgs/salt/patches/fix-3006.3-on-py12.patch
diff --git a/srcpkgs/salt/patches/fix-3006.3-on-py12.patch b/srcpkgs/salt/patches/fix-3006.3-on-py12.patch
deleted file mode 100644
index 5cb3312a737045..00000000000000
--- a/srcpkgs/salt/patches/fix-3006.3-on-py12.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-This is because:
-
-[4baea1a](https://github.com/saltstack/salt/commit/4baea1a97be0389fabe5307d084579134a1f9b7a)
-
-didn't make it in to 3006.3. As per my comment on the commit,
-vendored tornado used an obsolete check for
-python version. Upstream tornado no longer does.
-
-Fedora carries this patch to fix salt 3006.3 for py 3.12.
-
-This should be obsolete for 3007
-
-
---- a/salt/ext/tornado/netutil.py~ 2023-05-05 12:53:34.000000000 -0500
-+++ b/salt/ext/tornado/netutil.py 2023-07-24 11:27:02.376824349 -0500
-@@ -54,8 +54,8 @@
- elif ssl is None:
- ssl_match_hostname = SSLCertificateError = None # type: ignore
- else:
-- import backports.ssl_match_hostname
-- ssl_match_hostname = backports.ssl_match_hostname.match_hostname
-+ import urllib3.util.ssl_match_hostname
-+ ssl_match_hostname = urllib3.util.ssl_match_hostname
- SSLCertificateError = backports.ssl_match_hostname.CertificateError # type: ignore
-
- if hasattr(ssl, 'SSLContext'):
---- a/salt/ext/tornado/netutil.py~ 2023-07-24 11:50:02.836988664 -0500
-+++ b/salt/ext/tornado/netutil.py 2023-07-24 11:50:52.217539638 -0500
-@@ -56,7 +56,7 @@
- else:
- import urllib3.util.ssl_match_hostname
- ssl_match_hostname = urllib3.util.ssl_match_hostname
-- SSLCertificateError = backports.ssl_match_hostname.CertificateError # type: ignore
-+ SSLCertificateError = urllib3.util.ssl_match_hostname.CertificateError # type: ignore
-
- if hasattr(ssl, 'SSLContext'):
- if hasattr(ssl, 'create_default_context'):
diff --git a/srcpkgs/salt/patches/requirements.patch b/srcpkgs/salt/patches/requirements.patch
index abf56d4a542996..61a5856482707f 100644
--- a/srcpkgs/salt/patches/requirements.patch
+++ b/srcpkgs/salt/patches/requirements.patch
@@ -1,10 +1,11 @@
-diff --git a/requirements/base.txt b/requirements/base.txt
-index c19d8804a2b..62244c35152 100644
--- a/requirements/base.txt
+++ b/requirements/base.txt
-@@ -9,4 +9,4 @@ psutil>=5.0.0
- packaging>=21.3
- looseversion
- # We need contextvars for salt-ssh
+@@ -15,7 +15,7 @@
+
+ # We need contextvars for salt-ssh.
+ # Even on python versions which ships with contextvars in the standard library!
-contextvars
+contextvars; python_version < "3.7"
+
+ setproctitle>=1.2.3
+ timelib>=0.2.5
diff --git a/srcpkgs/salt/template b/srcpkgs/salt/template
index 1061a338803e4e..954d6a2b6224a3 100644
--- a/srcpkgs/salt/template
+++ b/srcpkgs/salt/template
@@ -1,6 +1,6 @@
# Template file for 'salt'
pkgname=salt
-version=3006.8
+version=3007.1
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
@@ -14,7 +14,7 @@ license="Apache-2.0"
homepage="http://saltstack.org/"
changelog="https://docs.saltstack.com/en/latest/topics/releases/${version}.html"
distfiles="${PYPI_SITE}/s/salt/salt-${version}.tar.gz"
-checksum=31629905c8d784bdb9786b6a3f77f9a87330bc56d7b68bebc9a19472d9efd866
+checksum=b933ac4cb3e4b1118b46dada55c9cc6bdc6f0f94b4c92877aec44b25c6a28c9a
conf_files="
/etc/salt/cloud.providers.d/digitalocean.conf
/etc/salt/cloud.providers.d/vsphere.conf
next prev parent reply other threads:[~2024-11-02 17:01 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-02 16:15 [PR PATCH] " lvdh
2024-11-02 17:01 ` lvdh [this message]
2024-11-02 17:10 ` [PR PATCH] [Updated] " lvdh
2024-11-02 18:58 ` lvdh
2024-11-03 0:34 ` lvdh
2024-11-03 4:15 ` Vaelatern
2024-11-03 4:16 ` Vaelatern
2024-11-03 14:03 ` lvdh
2024-12-12 5:07 ` Vaelatern
2024-12-12 6:14 ` Vaelatern
2024-12-13 4:35 ` Vaelatern
2024-12-13 11:04 ` ahesford
2024-12-13 17:29 ` Vaelatern
2024-12-13 17:38 ` ahesford
2024-12-23 6:26 ` Vaelatern
2024-12-23 6:31 ` Vaelatern
2024-12-23 7:26 ` Vaelatern
2024-12-23 7:35 ` Vaelatern
2024-12-23 7:36 ` Vaelatern
2024-12-23 7:36 ` Vaelatern
2025-02-04 20:08 ` [PR PATCH] [Updated] " lvdh
2025-02-04 20:15 ` lvdh
2025-02-05 15:34 ` lvdh
2025-02-05 15:35 ` lvdh
2025-02-08 21:06 ` [PR PATCH] [Updated] " lvdh
2025-02-08 21:13 ` lvdh
2025-02-08 21:27 ` lvdh
2025-02-08 21:30 ` lvdh
2025-02-08 23:09 ` lvdh
2025-02-08 23:10 ` lvdh
2025-02-08 23:10 ` lvdh
2025-02-08 23:10 ` lvdh
2025-02-08 23:11 ` lvdh
2025-02-08 23:11 ` lvdh
2025-02-08 23:11 ` lvdh
2025-02-08 23:12 ` lvdh
2025-02-09 1:48 ` Vaelatern
2025-02-09 1:49 ` Vaelatern
2025-02-09 1:50 ` Vaelatern
2025-02-09 14:33 ` [PR PATCH] [Updated] " lvdh
2025-02-09 15:00 ` lvdh
2025-02-09 15:01 ` lvdh
2025-02-09 15:37 ` lvdh
2025-02-09 19:10 ` [PR PATCH] [Updated] " lvdh
2025-02-09 19:13 ` lvdh
2025-02-09 19:14 ` lvdh
2025-02-10 5:28 ` Vaelatern
2025-02-11 2:04 ` Vaelatern
2025-02-12 2:52 ` lvdh
2025-02-13 5:02 ` Vaelatern
2025-02-13 14:46 ` lvdh
2025-02-21 3:26 ` [PR PATCH] [Updated] " lvdh
2025-02-26 3:39 ` lvdh
2025-03-06 7:44 ` Vaelatern
2025-03-09 23:42 ` [PR PATCH] [Updated] " lvdh
2025-03-10 0:07 ` lvdh
2025-03-13 0:36 ` [PR PATCH] [Updated] " Vaelatern
2025-03-13 0:37 ` Vaelatern
2025-03-13 0:47 ` [PR PATCH] [Merged]: " Vaelatern
2025-03-13 0:47 ` Vaelatern
2025-03-15 17:36 ` lvdh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241102170116.3E203311C4@inbox.vuxu.org \
--to=lvdh@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).