Support package @ https...zip syntax
Closed this issue · 2 comments
Describe the bug
Support the requirements package detection when specified using syntax:
package @ https://repo.url/repo-provivder-path/commit-uuid.zip
To Reproduce
Steps to reproduce the behavior:
- Add package to
requirements.txt
with commit zip URL using the specified format. - Install package using
pip install -r requirements.txt
- Validate that package was appropriately installed.
- Import the package in some project python file and see failing detection.
Expected behavior
Installed package should be detected.
Minimally, a basic validation of the name only splitting with @
could be implemented.
For proper validation, the commit should be validated to do similar checks as when version specifiers are provided.
Screenshots
IDE (please complete the following information. See Main Menu -> Help -> About):
- OS: Ubuntu 20.04
- Product: PyCharm Pro
- Version Build #PY-213.5744.248, built on November 30, 2021 (2021.3)
- JRE Version: Runtime version: 11.0.13+7-b1751.19 amd64, OpenJDK 64-Bit Server VM by JetBrains s.r.o.
- Project SDK: Python 3.7.9
Plugin (please complete the following information. See Main Menu -> File -> Settings -> Plugins):
- Version 2021.4.1-213-EAP-SNAPSHOT
Additional context
Similar to #72
@fmigneault please could you create issue in https://youtrack.jetbrains.com/issues/PY? It's bug in PyCharm inspections
Closing this as it seems to have been fixed in more recent versions of PyCharm (eg: using 2022.2.2).