Skip to content

Commit 4cec236

Browse files
committed
Merge develop into stable for v2026.01.15 release
2 parents 811e279 + 68f6f8b commit 4cec236

File tree

9 files changed

+73
-43
lines changed

9 files changed

+73
-43
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ jobs:
207207
display-name: Debian 11
208208
container-slug: debian-11
209209
timeout: 20
210-
instances: '["stable-3006", "onedir-3006", "stable-3006-8", "stable-3007", "onedir-3007", "stable-3007-1", "latest", "default"]'
210+
instances: '["stable-3006", "onedir-3006", "stable-3006-8", "stable-3007", "onedir-3007", "stable-3007-1", "git-master", "latest", "default"]'
211211

212212

213213
debian-12:

.github/workflows/templates/generate.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@
125125
BLACKLIST_GIT_MASTER = [
126126
"amazonlinux-2",
127127
"amazonlinux-2023",
128-
"debian-11",
129128
"debian-13",
130129
"fedora-40",
131130
"photon-4",

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
minimum_pre_commit_version: 1.15.2
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v5.0.0
5+
rev: v6.0.0
66
hooks:
77
- id: check-merge-conflict # Check for files that contain merge conflict strings.
88
- id: trailing-whitespace # Trims trailing whitespace.
@@ -12,12 +12,12 @@ repos:
1212
- id: end-of-file-fixer # Makes sure files end in a newline and only a newline.
1313

1414
- repo: https://github.com/executablebooks/mdformat
15-
rev: 0.7.17
15+
rev: 1.0.0
1616
hooks:
1717
- id: mdformat
1818

1919
- repo: https://github.com/s0undt3ch/python-tools-scripts
20-
rev: "0.18.6"
20+
rev: "0.20.5"
2121
hooks:
2222
- id: tools
2323
alias: actionlint
@@ -30,15 +30,15 @@ repos:
3030
- actionlint
3131

3232
- repo: https://github.com/jazzband/pip-tools
33-
rev: 7.4.1
33+
rev: v7.5.2
3434
hooks:
3535
- id: pip-compile
3636
files: ^requirements/release\.(in|txt)$
3737
args:
3838
- requirements/release.in
3939

4040
- repo: https://github.com/asottile/pyupgrade
41-
rev: v3.15.0
41+
rev: v3.21.2
4242
hooks:
4343
- id: pyupgrade
4444
name: Rewrite Code to be Py3.6+
@@ -47,13 +47,13 @@ repos:
4747
## DGM args: [--py39-plus]
4848

4949
- repo: https://github.com/asottile/reorder_python_imports
50-
rev: v3.12.0
50+
rev: v3.16.0
5151
hooks:
5252
- id: reorder-python-imports
5353
args: [--py310-plus]
5454

5555
- repo: https://github.com/psf/black
56-
rev: 24.10.0
56+
rev: 25.12.0
5757
hooks:
5858
- id: black
5959
args: []

CHANGELOG.md

Lines changed: 31 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# v2026.01.15
2+
3+
## What's Changed
4+
5+
- Update urllib3 to 2.6.0 by @twangboy in https://github.com/saltstack/salt-bootstrap/pull/2093
6+
- Update filelock to v3.20.1 by @twangboy in https://github.com/saltstack/salt-bootstrap/pull/2098
7+
- Update urllib3=2.6.3 and virtualenv=20.36.1 by @twangboy in https://github.com/saltstack/salt-bootstrap/pull/2099
8+
- fix: reinstate the old method of setting `pip` global options by @dafyddj in https://github.com/saltstack/salt-bootstrap/pull/2100
9+
- Fixes #2094 by changing reference to script var BS_TMP_DIR to \_TMP_DIR in help message text. by @jsbiff in https://github.com/saltstack/salt-bootstrap/pull/2097
10+
11+
## New Contributors
12+
13+
- @jsbiff made their first contribution in https://github.com/saltstack/salt-bootstrap/pull/2097
14+
15+
**Full Changelog**: https://github.com/saltstack/salt-bootstrap/compare/v2025.12.05...v2026.01.15
16+
117
# v2025.12.05
218

319
## What's Changed
@@ -128,7 +144,7 @@
128144

129145
- Make universal repo url by @twangboy in https://github.com/saltstack/salt-bootstrap/pull/2045
130146
- Update bootstrap shell CI/CD to utilize containers and clean up by @dmurphy18 in https://github.com/saltstack/salt-bootstrap/pull/2039
131-
- \[WIP\] hwclock check missing additional condition on major version by @ruslantum in https://github.com/saltstack/salt-bootstrap/pull/2048
147+
- [WIP] hwclock check missing additional condition on major version by @ruslantum in https://github.com/saltstack/salt-bootstrap/pull/2048
132148

133149
## New Contributors
134150

@@ -210,7 +226,7 @@
210226

211227
## What's Changed
212228

213-
- Updated README, and removed experimental to ability install different Python version which was limited to RHEL 7, which is EOL by @dmurphy18 in https://github.com/saltstack/salt-bootstrap/pull/2009
229+
- Updated README, and removed experimental to ability install different Python version which was limited to RHEL 7, which is EOL by @dmurphy18 in https://github.com/saltstack/salt-bootstrap/pull/2009
214230

215231
**Full Changelog**: https://github.com/saltstack/salt-bootstrap/compare/v2024.07.16...v2024.07.18
216232

@@ -220,7 +236,7 @@
220236

221237
- Update bootstrap-salt.sh by @javatask in https://github.com/saltstack/salt-bootstrap/pull/2005
222238
- Updated GitHub actions to later v4 by @dmurphy18 in https://github.com/saltstack/salt-bootstrap/pull/2004
223-
- Don't sort lists and dicts, as order of items matters by @dmurphy18 in https://github.com/saltstack/salt-bootstrap/pull/2006
239+
- Don't sort lists and dicts, as order of items matters by @dmurphy18 in https://github.com/saltstack/salt-bootstrap/pull/2006
224240

225241
## New Contributors
226242

@@ -378,7 +394,7 @@
378394
- Debian ARM Fix by @garethgreenaway in https://github.com/saltstack/salt-bootstrap/pull/1887
379395
- Added Pop!\_OS as a Ubuntu derivative by @shombando in https://github.com/saltstack/salt-bootstrap/pull/1888
380396
- Don't attempt to stable install on Red Hat onedir only systems by @garethgreenaway in https://github.com/saltstack/salt-bootstrap/pull/1889
381-
- \[docs\] Improve Windows readme instructions and links in script by @dafyddj in https://github.com/saltstack/salt-bootstrap/pull/1897
397+
- [docs] Improve Windows readme instructions and links in script by @dafyddj in https://github.com/saltstack/salt-bootstrap/pull/1897
382398
- Adding newer versions of CentOS Stream and AlmaLinux by @garethgreenaway in https://github.com/saltstack/salt-bootstrap/pull/1890
383399
- Add support for KDE neon based on Ubuntu 22.04 by @digitalkram in https://github.com/saltstack/salt-bootstrap/pull/1894
384400
- Removing Ubuntu 16.04 by @garethgreenaway in https://github.com/saltstack/salt-bootstrap/pull/1886
@@ -529,7 +545,7 @@
529545
- Add support for Ubuntu 20.04 (bryceml) #1479
530546
- Default Ubuntu 20.04 to Py3 since there isn't a Py2 release for it (bryceml) #1480
531547
- Warn instead of exit when using -R and -x python3 on centos to allow installing python3
532-
versions of salt on centos from other repos. Old unsupported releases probably need to
548+
versions of salt on centos from other repos. Old unsupported releases probably need to
533549
manually install epel-release before running the bootstrap script for versions before 2018.3.5
534550
and before 2019.2.1 (bryceml) #1482
535551
- Start maintaining .sha256 files for the bootstrap script
@@ -560,8 +576,8 @@
560576
# v2020.02.04:
561577

562578
- Add support for the Salt Neon(3000) release (s0undt3ch) #1424
563-
- Drop support for Fedora \< 30 (s0undt3ch) #1424
564-
- Drop support for Debian \< 8 (s0undt3ch) #1424
579+
- Drop support for Fedora < 30 (s0undt3ch) #1424
580+
- Drop support for Debian < 8 (s0undt3ch) #1424
565581

566582
# v2020.01.29:
567583

@@ -625,7 +641,7 @@
625641
- Fedora Py3 fixes (The-Loeki) #1273
626642
- Handle commented lines in the requirements files for pip pkgs (rallytime) #1271
627643
- Remove typo: extra 'c' was accidentally added in #1269 (rallytime) #1270
628-
- \[Arch\] Add python2-futures to list of pkgs on git install (rallytime) #1269
644+
- [Arch] Add python2-futures to list of pkgs on git install (rallytime) #1269
629645
- Fix undefined variable warn_msg on amd64 (alexandruavadanii) #1268
630646
- SLES12SP changed packages git to git-core and libzmq3 to libzmq4 (mfapouw) #1266
631647
- Add opensuse 15 specific installation functions (rallytime) #1263
@@ -756,8 +772,8 @@
756772
- Shallow cloning and Python setup fix for BSD (amontalban) #1040
757773
- Fix not needed quoting for salt/salt-bootstrap#1026 (amontalban) #1039
758774
- Update README file with supported release documentation (rallytime) #1034
759-
- Remove \<\<\< bashism (The-Loeki) #1032
760-
- \[-R option\] Fix logic error where we trying to enable epel with -R (rallytime) #1033
775+
- Remove \<<< bashism (The-Loeki) #1032
776+
- [-R option] Fix logic error where we trying to enable epel with -R (rallytime) #1033
761777
- Alpine: check Salt services have been enabled to start on boot (vutny) #1031
762778
- AWS Linux Native Support (bkruger99) #1022
763779
- Correct package name for FreeBSD installation (amontalban) #1030
@@ -812,7 +828,7 @@
812828
- Add python-futures package to install_centos_git_deps (rallytime) #948
813829
- Add /etc/portage/package.accept_keywords to CONFIG_PROTECT_MASK (rallytime) #947
814830
- Deprecate `-G` option: use `https` scheme for GitHub by default (vutny) #945
815-
- \[SECURITY\] Properly handle GnuPG keys for APT repositories (vutny) #940
831+
- [SECURITY] Properly handle GnuPG keys for APT repositories (vutny) #940
816832

817833
# v2016.08.16:
818834

@@ -881,7 +897,7 @@
881897
# v2016.04.18:
882898

883899
- Add support for openSUSE Leap. Thanks Roman Inflianskas(rominf). #693
884-
- Fix missing deps installation on Debian. Thanks Steve Groesz(wolfpackmars2). #699
900+
- Fix missing deps installation on Debian. Thanks Steve Groesz(wolfpackmars2). #699
885901
- Update SaltStack repo location and latest version for Windows. (brandon099) #711
886902
- Better EPEL repository detection on RHEL and CentOS. (vutny) #717
887903
- Fix git invocation fail when `man` command is not available. (vutny) #718
@@ -951,7 +967,7 @@
951967
# v2015.08.06:
952968

953969
- Fix python-requests installations for Ubuntu >= 14.04 LTS. #631, #632, #633
954-
- Install python-crypto from Chris Lea's PPA for Ubuntu \< 14.04
970+
- Install python-crypto from Chris Lea's PPA for Ubuntu < 14.04
955971
- Exit the git checkout directory before deleting it. Thanks Bret Fisher. #634
956972
- Use prefix /usr for centos git install. Thanks Stanislav B. #638
957973
- Drop Ubuntu EOL versions. All Ubuntu version before 12.04.
@@ -1249,7 +1265,7 @@
12491265
# v1.5.9:
12501266

12511267
- Allow to not start the daemons after bootstrapping salt. This will allow `vagrant-lxc`
1252-
installations, `debootstrap*`, etc, to finish properly. Thanks Henrik Holmboe (holmboe).
1268+
installations, `debootstrap*`, etc, to finish properly. Thanks Henrik Holmboe (holmboe).
12531269
- Distro Support Fixed:
12541270
- Salt >= 0.17 requires ElementTree which is on the python standard library after python
12551271
2.6 but openSUSE split that into a separate package.
@@ -1269,7 +1285,7 @@
12691285
and RedHat based distributions support system upgrades).
12701286
- Fixed an issue where passing BS_KEEP_TEMP_FILES=1 to the script was causing an error. #206.
12711287
- Switched FreeBSD default packages repository to PCBSD(http://www.pcbsd.org) and added
1272-
multiple repository support to install salt from the SaltStack's FreeBSD repository. Thanks
1288+
multiple repository support to install salt from the SaltStack's FreeBSD repository. Thanks
12731289
Christer Edwards(cedwards).
12741290
- Improved Gentoo Support. Thanks Elias Probst(eliasp).
12751291
- Stop execution soon for end of life distributions or non supported distribution versions.

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ sum** of the downloaded ``bootstrap-salt.sh`` file.
3737

3838
The SHA256 sum of the ``bootstrap-salt.sh`` file, per release, is:
3939

40+
- 2025.12.05: ``52034f69df84291928075264a0de75e2f9f202a28a5b3a0a82252bd12458a67d``
4041
- 2025.09.03: ``972d6e1a3592a8c2c820a5927e530be3c9b76de00e0a2a7126aec3f73ce99e6c``
4142
- 2025.02.24: ``a0e3a58fc6358a7c6f708ee4910229e72fbdab7161819514b0696146a2edb62d``
4243
- 2024.12.12: ``7cc91adfa5a15ff57d203dc2b79608c773efc639d4e9bf03861198903e11becd``

bootstrap-salt.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ if ($help) {
108108
exit 0
109109
}
110110

111-
$__ScriptVersion = "2025.12.05"
111+
$__ScriptVersion = "2026.01.15"
112112
$ScriptName = $myInvocation.MyCommand.Name
113113

114114
# We'll check for the Version next, because it also has no requirements

bootstrap-salt.sh

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#======================================================================================================================
2727
set -o nounset # Treat unset variables as an error
2828

29-
__ScriptVersion="2025.12.05"
29+
__ScriptVersion="2026.01.15"
3030
__ScriptName="bootstrap-salt.sh"
3131

3232
__ScriptFullName="$0"
@@ -369,7 +369,7 @@ __usage() {
369369
also be specified. Salt installation will be ommitted, but some of the
370370
dependencies could be installed to write configuration with -j or -J.
371371
-d Disables checking if Salt services are enabled to start on system boot.
372-
You can also do this by touching ${BS_TMP_DIR}/disable_salt_checks on the target
372+
You can also do this by touching ${_TMP_DIR}/disable_salt_checks on the target
373373
host. Default: \${BS_FALSE}
374374
-D Show debug output
375375
-f Force shallow cloning for git installations.
@@ -2819,14 +2819,25 @@ __install_salt_from_repo() {
28192819
${_pip_cmd} install --force-reinstall --break-system-packages "${_arch_dep}"
28202820
fi
28212821

2822-
echodebug "Running '${_pip_cmd} install ${_USE_BREAK_SYSTEM_PACKAGES} --no-deps --force-reinstall ${_PIP_INSTALL_ARGS} ${_TMP_DIR}/git/deps/salt*.whl'"
2822+
_PIP_VERSION_STRING=$(${_pip_cmd} --version)
2823+
echodebug "Installed pip version: $_PIP_VERSION_STRING"
2824+
_PIP_MAJOR_VERSION=$(echo "$_PIP_VERSION_STRING" | sed -E 's/^pip ([0-9]+)\..*/\1/')
28232825

2824-
echodebug "Running ${_pip_cmd} install ${_USE_BREAK_SYSTEM_PACKAGES} --no-deps --force-reinstall ${_PIP_INSTALL_ARGS} --config-settings=--global-option=--salt-config-dir=$_SALT_ETC_DIR --salt-cache-dir=${_SALT_CACHE_DIR} ${SETUP_PY_INSTALL_ARGS} ${_TMP_DIR}/git/deps/salt*.whl"
2825-
2826-
${_pip_cmd} install ${_USE_BREAK_SYSTEM_PACKAGES} --no-deps --force-reinstall \
2827-
${_PIP_INSTALL_ARGS} \
2828-
--config-settings="--global-option=--salt-config-dir=$_SALT_ETC_DIR --salt-cache-dir=${_SALT_CACHE_DIR} ${SETUP_PY_INSTALL_ARGS}" \
2829-
${_TMP_DIR}/git/deps/salt*.whl || return 1
2826+
# The following branching can be removed once we no longer support distros that still ship with
2827+
# versions of `pip` earlier than v22.1 such as Debian 11
2828+
if [ "$_PIP_MAJOR_VERSION" -lt 23 ]; then
2829+
echodebug "Running ${_pip_cmd} install ${_USE_BREAK_SYSTEM_PACKAGES} --no-deps --force-reinstall ${_PIP_INSTALL_ARGS} --global-option=--salt-config-dir=$_SALT_ETC_DIR --salt-cache-dir=${_SALT_CACHE_DIR} ${SETUP_PY_INSTALL_ARGS} ${_TMP_DIR}/git/deps/salt*.whl"
2830+
${_pip_cmd} install ${_USE_BREAK_SYSTEM_PACKAGES} --no-deps --force-reinstall \
2831+
${_PIP_INSTALL_ARGS} \
2832+
--global-option="--salt-config-dir=$_SALT_ETC_DIR --salt-cache-dir=${_SALT_CACHE_DIR} ${SETUP_PY_INSTALL_ARGS}" \
2833+
${_TMP_DIR}/git/deps/salt*.whl || return 1
2834+
else
2835+
echodebug "Running ${_pip_cmd} install ${_USE_BREAK_SYSTEM_PACKAGES} --no-deps --force-reinstall ${_PIP_INSTALL_ARGS} --config-settings=--global-option=--salt-config-dir=$_SALT_ETC_DIR --salt-cache-dir=${_SALT_CACHE_DIR} ${SETUP_PY_INSTALL_ARGS} ${_TMP_DIR}/git/deps/salt*.whl"
2836+
${_pip_cmd} install ${_USE_BREAK_SYSTEM_PACKAGES} --no-deps --force-reinstall \
2837+
${_PIP_INSTALL_ARGS} \
2838+
--config-settings="--global-option=--salt-config-dir=$_SALT_ETC_DIR --salt-cache-dir=${_SALT_CACHE_DIR} ${SETUP_PY_INSTALL_ARGS}" \
2839+
${_TMP_DIR}/git/deps/salt*.whl || return 1
2840+
fi
28302841

28312842
echoinfo "Checking if Salt can be imported using ${_py_exe}"
28322843
CHECK_SALT_SCRIPT=$(cat << EOM

requirements/release.in

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
boto3
2+
filelock >= 3.20.1
13
pre-commit
24
python-tools-scripts >= 0.18.6
3-
boto3
45
requests >= 2.32.5
5-
urllib3 >= 2.5.0
6+
urllib3 >= 2.6.3
7+
virtualenv >= 20.36.1

requirements/release.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.10
2+
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
55
# pip-compile requirements/release.in
@@ -22,8 +22,9 @@ charset-normalizer==3.4.1
2222
# via requests
2323
distlib==0.3.9
2424
# via virtualenv
25-
filelock==3.16.1
25+
filelock==3.20.2
2626
# via
27+
# -r requirements/release.in
2728
# python-tools-scripts
2829
# virtualenv
2930
identify==2.6.5
@@ -70,12 +71,12 @@ typing-extensions==4.12.2
7071
# via
7172
# pydantic
7273
# pydantic-core
73-
# python-tools-scripts
74-
# rich
75-
urllib3==2.5.0
74+
urllib3==2.6.3
7675
# via
7776
# -r requirements/release.in
7877
# botocore
7978
# requests
80-
virtualenv==20.28.1
81-
# via pre-commit
79+
virtualenv==20.36.1
80+
# via
81+
# -r requirements/release.in
82+
# pre-commit

0 commit comments

Comments
 (0)