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

[BUG] - SyntaxWarning in repository_cookbooks.py and query_search.py for mealie >= v2.4.0 #4775

Open
5 of 6 tasks
Weizenritter opened this issue Dec 25, 2024 · 0 comments
Open
5 of 6 tasks
Labels
bug Something isn't working triage

Comments

@Weizenritter
Copy link

First Check

  • This is not a feature request.
  • I added a very descriptive title to this issue (title field is above this).
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the Mealie documentation, with the integrated search.
  • I already read the docs and didn't find an answer.
  • This issue can be replicated on the demo site (https://demo.mealie.io/).

What is the issue you are experiencing?

When starting mealie in version v2.4.0 or higher two SyntaxWarning are being logged.

Steps to Reproduce

  1. Start the application in version >=v2.4.0.
  2. See the Warnings in the Logs right away.

Please provide relevant logs

$ docker run ghcr.io/mealie-recipes/mealie:v2.4.0
usermod: no changes
Switching to dedicated user

        User uid:    911
        User gid:    911

/app/mealie/repos/repository_cookbooks.py:39: SyntaxWarning: invalid escape sequence '\d'
  if not (data.slug and re.match(f"^({new_slug})(-\d+)?$", data.slug)):
/app/mealie/schema/response/query_search.py:19: SyntaxWarning: invalid escape sequence '\#'
  punctuation = "!\#$%&()*+,-./:;<=>?@[\\]^_`{|}~"  # string.punctuation with ' & " removed

Mealie Version

Image Tag: ghcr.io/mealie-recipes/mealie:v2.4.0
Build: b3c0661

Deployment

Docker (Linux)

Additional Deployment Details

No response

@Weizenritter Weizenritter added bug Something isn't working triage labels Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

1 participant