Some failing tests on windows
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with the listed failing tests in pip_requirements_parser_tests/test_requirements_file.py and pip_requirements_parser_tests/unit/test_req.py, ideally on Windows or a Windows CI environment. Compare the failures against the linked conda-forge build log and the requirements data files named in the test parameters. Done means the Windows-specific test assumptions are identified and the affected tests pass or are adjusted appropriately.
Written by the indexing model from the issue text.
Description
Thanks for pip-requirements-parser!
I'm looking to package this for conda-forge, and while, as a noarch package, we'd eventually only be building releases on linux, the initial review is built on the Big Three operating systems. Not-entirely-surprisingly, there are some gotchas on windows:
FAILED pip_requirements_parser_tests/test_requirements_file.py::test_RequirementsFile_to_dict[C:\\bld\\pip-requirements-parser_1646957052592\\test_tmp\\tests\\pip_requirements_parser_tests\\data\\requirements\\packaging-docs-examples.txt]
FAILED pip_requirements_parser_tests/test_requirements_file.py::test_RequirementsFile_to_dict[C:\\bld\\pip-requirements-parser_1646957052592\\test_tmp\\tests\\pip_requirements_parser_tests\\data\\requirements\\pip-docs-examples-vcs.txt]
FAILED pip_requirements_parser_tests/test_requirements_file.py::test_RequirementsFile_to_dict[C:\\bld\\pip-requirements-parser_1646957052592\\test_tmp\\tests\\pip_requirements_parser_tests\\data\\requirements\\pip-docs-examples.txt]
FAILED pip_requirements_parser_tests/test_requirements_file.py::test_RequirementsFile_dumps_unparse[C:\\bld\\pip-requirements-parser_1646957052592\\test_tmp\\tests\\pip_requirements_parser_tests\\data\\requirements\\pip-docs-examples-vcs.txt]
FAILED pip_requirements_parser_tests/test_requirements_file.py::test_RequirementsFile_dumps_unparse[C:\\bld\\pip-requirements-parser_1646957052592\\test_tmp\\tests\\pip_requirements_parser_tests\\data\\requirements\\pip-docs-examples.txt]
FAILED pip_requirements_parser_tests/unit/test_req.py::TestInstallRequirement::test_unexisting_path
I intend to skip them and move on, as they look like some test assumptions (maybe not even from this codebase), but figured it was worth documenting here.
Thanks again!
- Dominant language
- Python
- Stars
- 20
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aboutcode-org/pip-requirements-parser
-
Quadratic comment split on a requirements file line (pip_requirements_parser.py:1058)May be free again @Anurag-S1ngh claimed this 25 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
aboutcode-org/pip-requirements-parser#30 · 1 comment ·
-
Support PEP 561 Distributing and Packaging Type Information (py.typed marker)May be free again A pull request for this issue was closed without being merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 60/100
-
Tests failures with packaging 26.0Possibly taken @s-t-e-v-e-n-k claimed this 290 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Doesn't support local paths to wheelsMay be free again @Anurag-S1ngh claimed this 18 days ago, and no pull request is open. Open
Difficulty 3/5 1-2 days Newbie friendliness 48/100
aboutcode-org/pip-requirements-parser#26 · 3 comments ·
-
[BUG] VCS URLs are detected as path on linux systemsMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
All issues in aboutcode-org/pip-requirements-parser
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
GoogleCloudPlatform/professional-services-data-validator#1899 ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mohanraj00/entelos#200 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
sweep
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
bketelsen/truenas-mcp#77 ·
Maintainers usually reply within 1 day
-
Console writes URL credentials to the local log, though AGENTS.md says secrets never reach diskOpen
Difficulty 1/5 Under an hour Newbie friendliness 86/100
sandbox-quantum/switch#2163 ·
Maintainers usually reply within 1 day