Skip to content

Commit 4364f8f

Browse files
authored
Merge pull request #3706 from dtrudg/4.3-packaging-fuse
Merge fuse3 changes, Prepare 4.3.2 release.
2 parents 0aaa22b + a5c0849 commit 4364f8f

File tree

8 files changed

+36
-12
lines changed

8 files changed

+36
-12
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,10 @@ commands:
9191
build-essential \
9292
cryptsetup \
9393
fuse2fs \
94+
fuse3 \
9495
fuse-overlayfs \
9596
git \
96-
libfuse-dev \
97+
libfuse3-dev \
9798
libseccomp-dev \
9899
libsubid-dev \
99100
libtool \
@@ -377,7 +378,7 @@ jobs:
377378
dh-golang \
378379
fakeroot \
379380
git \
380-
libfuse-dev \
381+
libfuse3-dev \
381382
libglib2.0-dev \
382383
libseccomp-dev \
383384
libtool \

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# SingularityCE Changelog
22

3+
## 4.3.2 \[2025-06-18\]
4+
5+
## Requirements / Packaging
6+
7+
- Ubuntu 20.04 packages dropped - end-of-life.
8+
- EL 10 (RHEL/AlmaLinux/Rocky Linux 10) packages introduced.
9+
- Build bundled squashfuse against FUSE3 for all packages.
10+
- Don't depend on `fuse` on Ubuntu - installing this package on 22.04 can
11+
cause conflicts with the Ubuntu Desktop package set.
12+
313
## 4.3.1 \[2025-04-11\]
414

515
### Bug Fixes

CONTRIBUTORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ The following have contributed code and/or documentation to this repository.
100100
- Rémy Dernat <[email protected]>
101101
- Richard Hattersley <[email protected]>
102102
- Richard Neuboeck <[email protected]>
103+
- Rowan Kelleher <[email protected]>
103104
- Sasha Yakovtseva <[email protected]>, <[email protected]>
104105
- Satish Chebrolu <[email protected]>
105106

INSTALL.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ sudo apt-get install -y \
2222
cryptsetup \
2323
fuse2fs \
2424
git \
25-
fuse \
26-
libfuse-dev \
25+
fuse3 \
26+
libfuse3-dev \
2727
libseccomp-dev \
2828
libtool \
2929
pkg-config \
@@ -130,7 +130,7 @@ containers in an OCI lifecycle then `conmon` is required.
130130
`conmon` is available as a package for Ubuntu 24.10+ and Debian 12+
131131

132132
```sh
133-
sudo apt get install conmon
133+
sudo apt-get install conmon
134134
```
135135

136136
On older versions, use the latest binary from the [conmon GitHub
@@ -227,11 +227,11 @@ git submodule update --init
227227
By default your clone will be on the `main` branch which is where development
228228
of SingularityCE happens. To build a specific version of SingularityCE, check
229229
out a [release tag](https://github.com/sylabs/singularity/tags) before
230-
compiling. E.g. to build the 4.3.0 release, checkout the
231-
`v4.3.0` tag:
230+
compiling. E.g. to build the 4.3.2 release, checkout the
231+
`v4.3.2` tag:
232232

233233
```sh
234-
git checkout --recurse-submodules v4.3.0
234+
git checkout --recurse-submodules v4.3.2
235235
```
236236

237237
## Compiling SingularityCE
@@ -334,7 +334,7 @@ build and install the RPM like this:
334334
<!-- markdownlint-disable MD013 -->
335335

336336
```sh
337-
export VERSION=4.3.0 # this is the singularity version, change as you need
337+
export VERSION=4.3.2 # this is the singularity version, change as you need
338338

339339
# Fetch the source
340340
wget https://github.com/sylabs/singularity/releases/download/v${VERSION}/singularity-ce-${VERSION}.tar.gz

debian/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Build-Depends:
99
cryptsetup,
1010
dh-apparmor,
1111
git,
12-
libfuse-dev,
12+
libfuse3-dev,
1313
libseccomp-dev,
1414
libtool,
1515
pkg-config,
@@ -25,8 +25,8 @@ Architecture: any
2525
Depends: ${misc:Depends}, ${shlibs:Depends},
2626
crun (>= 1.5.0) | runc,
2727
cryptsetup-bin,
28-
fuse,
2928
fuse2fs,
29+
fuse3,
3030
libseccomp2,
3131
squashfs-tools,
3232
uidmap

examples/lima/singularity-ce.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ provision:
2424
script: |
2525
#!/bin/bash
2626
set -eux -o pipefail
27-
dnf -y install --enablerepo=epel singularity-ce squashfs-tools-ng
27+
28+
dnf install -y epel-release
29+
dnf install -y singularity-ce squashfs-tools-ng
2830
2931
probes:
3032
- script: |

pkg/sylog/sylog.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,13 @@ func Writer() io.Writer {
159159
return logWriter
160160
}
161161

162+
// SetWriter accepts an io.Writer, to which sylog will then print messages.
163+
// This can be used to capture sylog messages for testing etc. By default log
164+
// messages are written to os.StdErr.
165+
func SetWriter(w io.Writer) {
166+
logWriter = w
167+
}
168+
162169
// DebugLogger is an implementation of the go-log/log Logger interface that will
163170
// output log messages via sylog.debug when required by external packages such
164171
// as the scs-library-client

pkg/sylog/sylog_dummy.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ func Writer() io.Writer {
5555
return io.Discard
5656
}
5757

58+
// SetWriter is a dummy function doing nothing
59+
func SetWriter(io.Writer) {}
60+
5861
// DebugLogger is an implementation of the go-log/log Logger interface that will
5962
// output log messages via sylog.debug when required by external packages such
6063
// as the scs-library-client

0 commit comments

Comments
 (0)