Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern for python_version do not allow 3.11 #969

Closed
jza34 opened this issue Oct 24, 2023 · 3 comments
Closed

Pattern for python_version do not allow 3.11 #969

jza34 opened this issue Oct 24, 2023 · 3 comments

Comments

@jza34
Copy link

jza34 commented Oct 24, 2023

Describe the bug

The pattern regex for python_version do not allow 3.11, it only allows one digit(eg. 3.8)

Puppetboard version

Current from puppet forge : 9.0.0

Environment and installation method

  • Debian 12 and Python 3.11 from official debian repo,
  • installed with the Forge module v9.0.0
@jza34 jza34 added the bug label Oct 24, 2023
@tolid
Copy link

tolid commented Nov 7, 2023

I confirm the bug. Seems like the line 62 in init.pp
should be changed from Pattern[/^3\.\d$/] $python_version, to Pattern[/^3\.\d] $python_version, or Pattern[/^3\.\d\d$/] $python_version, as a quick and dirty fix

@jza34
Copy link
Author

jza34 commented Nov 7, 2023

Hi,
I should have posted this issue into the repository #puppet-puppetboard. Some repository admin may do it? Sorry.
The good news are someone fixed it lastly. The new pattern is ''Pattern[/^3.\d+$/]'' which allow one or two digits.
Not released yet I guess. I manualy did the fix on my host.
Cheers

@kenyon
Copy link
Member

kenyon commented Nov 7, 2023

Done in voxpupuli/puppet-puppetboard#385.

@kenyon kenyon closed this as completed Nov 7, 2023
@kenyon kenyon added skip-changelog and removed bug labels Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants