Skip to content

audit.py: fix re.sub(..., N) positional count arg#51735

Merged
haampie merged 1 commit intodevelopfrom
hs/fix/audit-re-count
Dec 12, 2025
Merged

audit.py: fix re.sub(..., N) positional count arg#51735
haampie merged 1 commit intodevelopfrom
hs/fix/audit-re-count

Conversation

@haampie
Copy link
Copy Markdown
Member

@haampie haampie commented Dec 11, 2025

The positional arg for count is deprecated.

Also make static typing happy, since homepage is allowed to be None.

Fix use of `re.sub(..., N)`, which is deprecated.

Signed-off-by: Harmen Stoppels <[email protected]>
@haampie haampie changed the title audit.py: fix re.sub(..., 1) positional count arg audit.py: fix re.sub(..., N) positional count arg Dec 11, 2025
@haampie haampie added v1.0.3 PRs to backport for v1.0.3 v1.1.1 labels Dec 11, 2025
@haampie haampie merged commit 37881df into develop Dec 12, 2025
30 of 31 checks passed
@haampie haampie deleted the hs/fix/audit-re-count branch December 12, 2025 15:56
becker33 pushed a commit that referenced this pull request Jan 10, 2026
The positional arg for count is deprecated.

Also make static typing happy, since homepage is allowed to be None.

Signed-off-by: Harmen Stoppels <[email protected]>
@becker33 becker33 mentioned this pull request Jan 10, 2026
2 tasks
becker33 pushed a commit that referenced this pull request Jan 11, 2026
The positional arg for count is deprecated.

Also make static typing happy, since homepage is allowed to be None.

Signed-off-by: Harmen Stoppels <[email protected]>
Signed-off-by: Gregory Becker <[email protected]>
becker33 pushed a commit that referenced this pull request Jan 15, 2026
The positional arg for count is deprecated.

Also make static typing happy, since homepage is allowed to be None.

Signed-off-by: Harmen Stoppels <[email protected]>
Signed-off-by: Gregory Becker <[email protected]>
vjranagit pushed a commit to vjranagit/spack that referenced this pull request Jan 18, 2026
The positional arg for count is deprecated.

Also make static typing happy, since homepage is allowed to be None.

Signed-off-by: Harmen Stoppels <[email protected]>
Signed-off-by: Gregory Becker <[email protected]>
becker33 pushed a commit that referenced this pull request Jan 22, 2026
The positional arg for count is deprecated.

Also make static typing happy, since homepage is allowed to be None.

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
The positional arg for count is deprecated.

Also make static typing happy, since homepage is allowed to be None.

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
The positional arg for count is deprecated.

Also make static typing happy, since homepage is allowed to be None.

Signed-off-by: Harmen Stoppels <[email protected]>
becker33 pushed a commit that referenced this pull request Feb 2, 2026
The positional arg for count is deprecated.

Also make static typing happy, since homepage is allowed to be None.

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
The positional arg for count is deprecated.

Also make static typing happy, since homepage is allowed to be None.

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

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