-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Re complile fail mentioning "ps_d" when using --gitignore #240
Comments
for now we are working around it like this
|
Thank you for opening the Issue I did a few tests, and I solved the problem, but I can't decide yet, the gitignore flag works more correctly in pathspec 0.10.0 and later, Should I continue to support all versions 0.5.0 and above, or should I support versions 0.10.0 and above? My idea is to support 0.10.0 and above versions because as I said, unimport will work more correctly if it uses these versions. |
Does anyone want to share their opinion? |
It seems that Pathspec has stopped supporting Python 3.6, I can only use the 0.10.0 version and above for Python 3.7 and above. |
3.6 is no longer maintained https://endoflife.date/python
…On Sun, 4 Sept 2022, 03:28 Hakan Çelik, ***@***.***> wrote:
It seems that Pathspec has stopped supporting Python 3.6, I can only use
the 0.10.0 version and above for Python 3.7 and above.
—
Reply to this email directly, view it on GitHub
<#240 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGERUD423AIVQJKHNDIVN3V4QCORANCNFSM6AAAAAAQBM2TYM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Yes, I know but I want to support it as much as possible. |
It seems unnecessary effort to support 3.6 and windows. https://pypistats.org/packages/unimport |
@tolomea can you try version 0.11.3? |
I get a new error for 0.11.2
```
Traceback (most recent call last):
File
"/home/gordon/.cache/pre-commit/repo06pg8pft/py_env-python3/bin/unimport",
line 5, in <module>
from unimport.__main__ import main
ImportError: cannot import name 'main' from 'unimport.__main__'
(/home/gordon/.cache/pre-commit/repo06pg8pft/py_env-python3/lib/python3.10/site-packages/unimport/__main__.py)
```
…On Sun, Sep 4, 2022 at 11:19 PM Hakan Çelik ***@***.***> wrote:
@tolomea <https://github.com/tolomea> can you try version 0.11.2?
—
Reply to this email directly, view it on GitHub
<#240 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGERUCXQUH62B4W3S4SNW3V4UN5PANCNFSM6AAAAAAQBM2TYM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yes, I noticed and fixed this bug right away, can you try version 0.11.3? @tolomea |
That's working now
…On Mon, Sep 5, 2022 at 11:38 AM Hakan Çelik ***@***.***> wrote:
Yes, I noticed and fixed this bug right away, can you try version 0.11.3?
@tolomea <https://github.com/tolomea>
—
Reply to this email directly, view it on GitHub
<#240 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGERUFNMVGVLY3HZXZTJV3V4XETNANCNFSM6AAAAAAQBM2TYM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
We've recently started getting the below failure.
We're running with py3.10.4, and this bit of precommit
It looks like this was caused by our use of --gitignore and the recent (10 hours ago at the time of writing) release of pathspec 0.10.0.
Digging into it I'm seeing that it's taken every line from our .gitignore and wrapped it, so
/prof
has become^prof(?:(?P<ps_d>/).*)?$
that seems to come from GitWildMatchPatternThe text was updated successfully, but these errors were encountered: