Comments (3)
Hi @mauvilsa, thank you for your suggestion! It overall sounds good to me. One possible improvement is to update the error message to something like this so that users will know it's not their fault when they see the error:
- raise ValueError(f"dependency {dependency_name!r} not found in package {package_name!r}")
+ raise ValueError(f"This is an internal error. Please file a GitHub issue with the error message. Dependency {dependency_name!r} not found in package {package_name!r}.")
Would you be interested in submitting a PR?
from utilities.
This could be included in the 0.4.0 release
from utilities.
Would you be interested in submitting a PR?
Yes, I can create a pull request.
from utilities.
Related Issues (20)
- `pkg_resources` is deprecated HOT 5
- GHA for docs link check
- Fabric support for TensorDict HOT 4
- Integrate `is_overridden`
- Add documentation to the rank_zero_only function HOT 2
- Rename `lightning_utilities.dev` to `lightning_utilities.cli` HOT 1
- Create `lightning_utilities.testing` subpackage HOT 5
- Adapt reusable workflows in Lightning Ecosystem
- Provide installation instructions in RequirementCache error messaging
- Update subprojects to use `no_warning_call` HOT 2
- Update CHANGELOG HOT 1
- packages are not uploaded as artifacts HOT 3
- Cannot import `lightning_utilities.test.warning.no_warning_call`
- Importerror on types.py HOT 1
- Add markdown link checker action HOT 1
- Introduce ModuleAvailableCache HOT 2
- migrate to pyproject HOT 1
- Define global action.yaml HOT 4
- false positive with `package_available` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from utilities.