Skip to content

config: relax concurrent_packages to minimum 0#51840

Merged
becker33 merged 1 commit intodevelopfrom
hs/fix/relax-parallel-processes-yaml
Jan 14, 2026
Merged

config: relax concurrent_packages to minimum 0#51840
becker33 merged 1 commit intodevelopfrom
hs/fix/relax-parallel-processes-yaml

Conversation

@haampie
Copy link
Copy Markdown
Member

@haampie haampie commented Jan 13, 2026

In the new installer, the number of concurrent packages is bound by
build_jobs, and users don't have to bother setting
concurrent_packages too. As a result, the new installer currently
ignores concurrent_packages.

In Spack v1.2 however, the new installer will respect
concurrent_packages as an upper limit on the number of concurrent
package installs. That makes the default value of 1 in config
problematic.

The suggestion is to use a default value of 0 from Spack v1.2 onwards,
and make that mean "default settings". For the old installer that is "no
package parallelism", for the new installer that is "at most build_jobs".

This commit allows the value 0 in config, and is primarily meant to be
backported to ensure forward compatibilty with newer config files in
older Spack version.

In the new installer, the number of concurrent packages is bound by
`build_jobs`, and users don't have to bother setting
`concurrent_packages` too. As a result, the new installer currently
ignores `concurrent_packages`.

In Spack v1.2 however, the new installer *will* respect
`concurrent_packages` as an upper limit on the number of concurrent
package installs. That makes the default value of `1` in config
problematic.

The suggestion is to use a default value of `0` from Spack v1.2 onwards,
and make that a mean "default settings". For the old installer that
means no package parallelism, for the new installer that means at most
`build_jobs`.

This commit allows the value `0` in config, and is primarily meant to be
backported to ensure forward compatibilty with newer config files in
older Spack version.

Signed-off-by: Harmen Stoppels <[email protected]>
@haampie haampie force-pushed the hs/fix/relax-parallel-processes-yaml branch from b6ccd06 to 554ef3c Compare January 13, 2026 13:04
@becker33 becker33 added v1.1.1 v1.0.3 PRs to backport for v1.0.3 labels Jan 14, 2026
@becker33 becker33 merged commit a6c511d into develop Jan 14, 2026
31 of 32 checks passed
@becker33 becker33 deleted the hs/fix/relax-parallel-processes-yaml branch January 14, 2026 01:28
@becker33 becker33 mentioned this pull request Jan 14, 2026
2 tasks
becker33 pushed a commit that referenced this pull request Jan 14, 2026
In the new installer, the number of concurrent packages is bound by
`build_jobs`, and users don't have to bother setting
`concurrent_packages` too. As a result, the new installer currently
ignores `concurrent_packages`.

In Spack v1.2 however, the new installer *will* respect
`concurrent_packages` as an upper limit on the number of concurrent
package installs. That makes the default value of `1` in config
problematic.

The suggestion is to use a default value of `0` from Spack v1.2 onwards,
and make that a mean "default settings". For the old installer that
means no package parallelism, for the new installer that means at most
`build_jobs`.

This commit allows the value `0` in config, and is primarily meant to be
backported to ensure forward compatibilty with newer config files in
older Spack version.

Signed-off-by: Harmen Stoppels <[email protected]>
becker33 pushed a commit that referenced this pull request Jan 15, 2026
In the new installer, the number of concurrent packages is bound by
`build_jobs`, and users don't have to bother setting
`concurrent_packages` too. As a result, the new installer currently
ignores `concurrent_packages`.

In Spack v1.2 however, the new installer *will* respect
`concurrent_packages` as an upper limit on the number of concurrent
package installs. That makes the default value of `1` in config
problematic.

The suggestion is to use a default value of `0` from Spack v1.2 onwards,
and make that a mean "default settings". For the old installer that
means no package parallelism, for the new installer that means at most
`build_jobs`.

This commit allows the value `0` in config, and is primarily meant to be
backported to ensure forward compatibilty with newer config files in
older Spack version.

Signed-off-by: Harmen Stoppels <[email protected]>
vjranagit pushed a commit to vjranagit/spack that referenced this pull request Jan 18, 2026
In the new installer, the number of concurrent packages is bound by
`build_jobs`, and users don't have to bother setting
`concurrent_packages` too. As a result, the new installer currently
ignores `concurrent_packages`.

In Spack v1.2 however, the new installer *will* respect
`concurrent_packages` as an upper limit on the number of concurrent
package installs. That makes the default value of `1` in config
problematic.

The suggestion is to use a default value of `0` from Spack v1.2 onwards,
and make that a mean "default settings". For the old installer that
means no package parallelism, for the new installer that means at most
`build_jobs`.

This commit allows the value `0` in config, and is primarily meant to be
backported to ensure forward compatibilty with newer config files in
older Spack version.

Signed-off-by: Harmen Stoppels <[email protected]>
becker33 pushed a commit that referenced this pull request Jan 22, 2026
In the new installer, the number of concurrent packages is bound by
`build_jobs`, and users don't have to bother setting
`concurrent_packages` too. As a result, the new installer currently
ignores `concurrent_packages`.

In Spack v1.2 however, the new installer *will* respect
`concurrent_packages` as an upper limit on the number of concurrent
package installs. That makes the default value of `1` in config
problematic.

The suggestion is to use a default value of `0` from Spack v1.2 onwards,
and make that a mean "default settings". For the old installer that
means no package parallelism, for the new installer that means at most
`build_jobs`.

This commit allows the value `0` in config, and is primarily meant to be
backported to ensure forward compatibilty with newer config files in
older Spack version.

Signed-off-by: Harmen Stoppels <[email protected]>
Signed-off-by: Gregory Becker <[email protected]>
becker33 pushed a commit that referenced this pull request Jan 26, 2026
In the new installer, the number of concurrent packages is bound by
`build_jobs`, and users don't have to bother setting
`concurrent_packages` too. As a result, the new installer currently
ignores `concurrent_packages`.

In Spack v1.2 however, the new installer *will* respect
`concurrent_packages` as an upper limit on the number of concurrent
package installs. That makes the default value of `1` in config
problematic.

The suggestion is to use a default value of `0` from Spack v1.2 onwards,
and make that a mean "default settings". For the old installer that
means no package parallelism, for the new installer that means at most
`build_jobs`.

This commit allows the value `0` in config, and is primarily meant to be
backported to ensure forward compatibilty with newer config files in
older Spack version.

Signed-off-by: Harmen Stoppels <[email protected]>
Signed-off-by: Gregory Becker <[email protected]>
@becker33 becker33 mentioned this pull request Feb 2, 2026
becker33 pushed a commit that referenced this pull request Feb 2, 2026
In the new installer, the number of concurrent packages is bound by
`build_jobs`, and users don't have to bother setting
`concurrent_packages` too. As a result, the new installer currently
ignores `concurrent_packages`.

In Spack v1.2 however, the new installer *will* respect
`concurrent_packages` as an upper limit on the number of concurrent
package installs. That makes the default value of `1` in config
problematic.

The suggestion is to use a default value of `0` from Spack v1.2 onwards,
and make that a mean "default settings". For the old installer that
means no package parallelism, for the new installer that means at most
`build_jobs`.

This commit allows the value `0` in config, and is primarily meant to be
backported to ensure forward compatibilty with newer config files in
older Spack version.

Signed-off-by: Harmen Stoppels <[email protected]>
becker33 pushed a commit that referenced this pull request Feb 2, 2026
In the new installer, the number of concurrent packages is bound by
`build_jobs`, and users don't have to bother setting
`concurrent_packages` too. As a result, the new installer currently
ignores `concurrent_packages`.

In Spack v1.2 however, the new installer *will* respect
`concurrent_packages` as an upper limit on the number of concurrent
package installs. That makes the default value of `1` in config
problematic.

The suggestion is to use a default value of `0` from Spack v1.2 onwards,
and make that a mean "default settings". For the old installer that
means no package parallelism, for the new installer that means at most
`build_jobs`.

This commit allows the value `0` in config, and is primarily meant to be
backported to ensure forward compatibilty with newer config files in
older Spack version.

Signed-off-by: Harmen Stoppels <[email protected]>
Signed-off-by: Gregory Becker <[email protected]>
becker33 pushed a commit that referenced this pull request Feb 19, 2026
In the new installer, the number of concurrent packages is bound by
`build_jobs`, and users don't have to bother setting
`concurrent_packages` too. As a result, the new installer currently
ignores `concurrent_packages`.

In Spack v1.2 however, the new installer *will* respect
`concurrent_packages` as an upper limit on the number of concurrent
package installs. That makes the default value of `1` in config
problematic.

The suggestion is to use a default value of `0` from Spack v1.2 onwards,
and make that a mean "default settings". For the old installer that
means no package parallelism, for the new installer that means at most
`build_jobs`.

This commit allows the value `0` in config, and is primarily meant to be
backported to ensure forward compatibilty with newer config files in
older Spack version.

Signed-off-by: Harmen Stoppels <[email protected]>
Signed-off-by: Gregory Becker <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config v1.0.3 PRs to backport for v1.0.3 v1.1.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants