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

Deprecation Warning notice #1187

Closed
frankenstein91 opened this issue Jul 17, 2023 · 2 comments
Closed

Deprecation Warning notice #1187

frankenstein91 opened this issue Jul 17, 2023 · 2 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed
Milestone

Comments

@frankenstein91
Copy link

Description

seeing a warning at first run of my code

<path removed>.venv/lib/python3.11/site-packages/vbuild/__init__.py:230: DeprecationWarning: invalid escape sequence '\*'
  css = re.sub(re.compile("/\*.*?\*/", re.DOTALL), "", css)

I used poetry run python logBook.py -h to run.

https://github.com/frankenstein91/PicardLog/blob/747c26f19957a2a9c58037af77b79971e3d1b013/logBook.py

What do you expect to happen? No DeprecationWarning at runtime

@falkoschindler
Copy link
Contributor

Thanks for reporting this issue, @frankenstein91!
I haven't noticed this warning, but with your code I could reproduce it.
It looks like it is caused by the vbuild package: manatlan/vbuild#10
Unfortunately this package is stale for four years now. We should probably look for a replacement.

@falkoschindler falkoschindler added bug Something isn't working help wanted Extra attention is needed labels Jul 19, 2023
@falkoschindler falkoschindler self-assigned this Jul 26, 2023
@falkoschindler falkoschindler added this to the 1.3.8 milestone Aug 4, 2023
@falkoschindler
Copy link
Contributor

Now that manatlan/vbuild#10 is closed, I upgraded to vbuild 0.8.2. This should fix this deprecation warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants