question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for multiple categories in exported requirements

See original GitHub issue

Now that Pipfile supports multiple categories, it would be nice if I could create different requirements files for these categories. Let’s say my Pipfile has categoires: tests, documentation, foo, bar. I would like to create the following files: requirements-tests.txt, requirements-documentation.txt, requirements-foo.txt and requirements-bar.txt.

I would like to export them with:

pipenv requirements --category tests > requirements-tests.txt

And so on …

However, right now only these options are supported:

 $ pipenv requirements -h
Usage: pipenv requirements [OPTIONS]

Options:
  --dev              Also add development requirements.
  --dev-only         Only add development requirements.
  --hash             Add package hashes.
  --exclude-markers  Exclude markers.
  -h, --help         Show this message and exit.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:3
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
BAllbeeDHIcommented, Oct 24, 2022

Thank you for taking that on, @dojutsu-user — Looking forward to having that capability as soon as it’s released. 😄

1reaction
dojutsu-usercommented, Oct 22, 2022

HI @oz123, Raised a PR with probable fix. Can you please check it once if the approach looks fine to you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using criteria groups to export the same field multiple times ...
Answer: · Create an export. · Select the appropriate criteria and click OK. · In the left frame, double click the field to...
Read more >
Frequently Asked Questions to Export Licensing Requirements
How do I know if my shipment needs an export license? The first step is knowing your item's Export Control Classification. Number (ECCN)....
Read more >
Importing or exporting categories - IBM Cloud Pak for Data
You can import categories from a file that is in CSV format. You can also export categories to a file that is in...
Read more >
How to Export WordPress Categories and Tags - WP All Import
To export WordPress categories and tags, go to WP All Export › New Export and select the type of taxonomies to export. Then,...
Read more >
Importing and Exporting Products (v2) - BigCommerce Support
How to create and update products via exporting and importing, including images, SKUs, and categories.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found