Skip to content

Commit

Permalink
Do not add pretty_errors as a requirement (#45)
Browse files Browse the repository at this point in the history
pretty_errors is only a debug requirement https://github.com/Lightning-AI/torchmetrics/blob/bfcd4b0e5bfa1256ef9c142956a86df57542a668/requirements/debug.txt
installing this package will change the traceback output of python as soon as torchmetrics is imported. It was so difficult to find out what was changing tracebacks in my script.
  • Loading branch information
183amir authored May 14, 2024
1 parent bcbf1d3 commit 485aaab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ source:

build:
noarch: python
number: 0
number: 1
script: {{ PYTHON }} -m pip install . -vv

requirements:
host:
- pip
- python >=3.8
run:
- pretty_errors ==1.2.25
- numpy >1.20.0
- packaging >17.1
- setuptools
Expand Down

0 comments on commit 485aaab

Please sign in to comment.