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

Warnings using the command line #56

Open
stessaris opened this issue Sep 24, 2021 · 2 comments
Open

Warnings using the command line #56

stessaris opened this issue Sep 24, 2021 · 2 comments

Comments

@stessaris
Copy link

Hi, I get the following warnings when I use plimc:

XXX/venvs/plim/lib/python3.9/site-packages/scss/selector.py:26: FutureWarning: Possible nested set at position 329
  SELECTOR_TOKENIZER = re.compile(r'''
XXX/venvs/plim/lib/python3.9/site-packages/plim/console.py:48: PkgResourcesDeprecationWarning: Parameters to load are deprecated.  Call .resolve and .require separately.
  preprocessor = EntryPoint.parse('x={}'.format(preprocessor_path)).load(False)

The first one depends on pyScss package. There's a fix in the codebase but they didn't update the package yet; you may want to watch it and release a new version as soon as they publish an update.

For the second, looking at the pkg_resources code, it seems that you can just replace .load(False) with .resolve().

@avanov
Copy link
Owner

avanov commented Sep 15, 2022

Hi @stessaris

I know it's been a while since the issue was opened, but I see that pyScss merged the fix and the only remaining thing is the warnings on Plim's side. If you happen to have a patched version, I'm happy to merge it.

@avanov
Copy link
Owner

avanov commented Sep 16, 2022

PkgResourcesDeprecationWarning is fixed in #60

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

No branches or pull requests

2 participants