Comments (3)
Can you try to install the decorator
module manually then try again?
I think it's because we did not install the dependency of the decorator
module.
from pinject.
I never got a notice on this so I didn't know you even responded. I actually came back to report this again because I forgot I had brought it up!
If I manually specify decorator, it looks like it does install and run with 0.12.6. A problem here is that I am using it in my own package, and I have to put it in my own package and hope it gets fetched first.
I think the problem is that setup.py is trying to fetch version information from inside pinject, which has an init.py that will try to import decorators. If you can split that off then I imagine it would stop cropping up.
from pinject.
The main problem here is if I make pinject a dependency for another Python package, pip will run setup.py and fail to find decorator--even if I specify decorator as a dependency in my own package--because pip hasn't actually installed it yet.
from pinject.
Related Issues (20)
- Requests/Urllib3/six injection issue. HOT 1
- Why a class with @pinject.inject is always singleton? Is it a bug? HOT 2
- Unable to run the basic dependency injection example mentioned in documentation. HOT 6
- ObjectGraph Builder HOT 1
- different calls to provide() in a singleton scope do not return a singleton HOT 9
- Can't inject decorated classes, getting pinject.errors.WrongArgTypeError: wrong type for arg cls: expected class but got <decorator> HOT 2
- Support for >= 3.7 HOT 1
- Class names cannot contain numbers nor single letter words
- Compatibility with GTK
- Remove Python v3.3 & v3.4 from CI/CD HOT 1
- Type hints support for autowiring HOT 2
- latest release on pypi is 0.14.1 but on github it's 0.15.3 HOT 2
- Support for arbitrary callables HOT 1
- pinject.errors.OnlyInstantiableViaProviderFunctionError:Simple Sample Script but not know how to fix the error
- Default strategy for converting class names to argument names should allow multiple capitalized letters or numbers
- What's the release strategy? HOT 3
- Inject dependency into decorators
- Undefined name: errors
- [Enhancement] Allow calling methods and injecting their parameters
- Feature request: "Local" bindings without annotating non-binding-spec code
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 pinject.