Skip to content

grml2usb: follow glob1 deprecation#89

Merged
zeha merged 2 commits intomasterfrom
zeha/glob1
Feb 11, 2026
Merged

grml2usb: follow glob1 deprecation#89
zeha merged 2 commits intomasterfrom
zeha/glob1

Conversation

@zeha
Copy link
Member

@zeha zeha commented Jan 20, 2026

Fixes this deprecation warning from Python 3.14:

DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
   for filename in glob.glob1(syslinux_target, "*.c32"):

As reported in grml/grml-terminalserver#19

Minimum Python version becomes 3.10.

@zeha zeha requested review from jkirk and mika January 20, 2026 20:51
@zeha zeha self-assigned this Jan 20, 2026
@zeha
Copy link
Member Author

zeha commented Jan 20, 2026

Includes #88 as otherwise CI will be red.

Fixes this deprecation warning from Python 3.14:

```
DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
  for filename in glob.glob1(syslinux_target, "*.c32"):
```

As reported in grml/grml-terminalserver#19

Minimum Python version becomes 3.10.
@github-actions
Copy link

📦 Built packages are ready! Download here.

@grml grml deleted a comment from github-actions bot Jan 20, 2026
@zeha
Copy link
Member Author

zeha commented Jan 20, 2026

Minimum Python version becomes 3.10.

Turns out we already used Python 3.10 syntax, so this doesn't change anything.

@zeha zeha mentioned this pull request Jan 20, 2026
@zeha zeha closed this Feb 11, 2026
@zeha zeha reopened this Feb 11, 2026
@zeha zeha merged commit d13b845 into master Feb 11, 2026
11 checks passed
@zeha zeha deleted the zeha/glob1 branch February 11, 2026 10:13
@github-actions
Copy link

📦 Built packages are ready! Download here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants