Look for requirements.in when converting
See original GitHub issuepip-tools uses requirements.in
like Pipfile
, so that requirements.txt
is like Pipfile.lock
. When both are present, and pipenv wants to automatically create the Pipfile, it should use the requirements.in
file instead of requirements.txt
.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Converting requirements - No Magic Documentation
To convert elements. From the selected element's shortcut menu, select Refactor > Convert To. The list with available conversion target types opens.
Read more >Writing Good Requirements
This paper will address what makes a good requirement. ... An important aspect of system engineering is converting user "needs" into clear, concise, ......
Read more >Gathering Requirements and Creating Use Cases, An ...
Another technique for collecting requirements involves simply keeping a list of requirements. As this list grows, it is grouped into logical ...
Read more >How do I convert a list of Requirements into Constraints?
I am having difficulty, however, in proceeding to the next step. What exactly is a Design Constraint supposed to look like? How specific...
Read more >How to Turn Requirements into User Stories - DaedTech
... for converting gigantic Word documents full of requirements into ... If you look at traditional requirements documents, they generally ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Mutual support would be cool, so that either tool could (at least) import, (maybe) auto detect, (optionally) convert, and compare + align with the other files. So, they could be used interchangeably, at developer’s discretion.
Personally, just to give an example motivation, while I see
pipenv
to be the right path down harmonization with other languages and technologies, I do like the single-line simplicity ofrequirements.txt
(andrequirements.in
) that pip-tools is handling more.Yeah, I don’t see mutual support as a useful feature or desirable in terms of the scope of either tool. Round tripping is messy. Pipfile seems strictly better to be so the migration path should be towards it (it’s being standardised, so it’s possibly you might use it with a tool other than pipenv in the future).
However, it would be cool if requiements.in projects could be migrated more smoothly.
It shouldn’t be too hard since half of what’s need can be done already quite easily:
All that’s missing at that point is the lock file should be based upon requirements.txt.lock instead of relocking the requirements. Even just doing something equivalent to the above (while issuing a warning about discarding locked versions) could be useful.