Comments (4)
I now used pyenv to install 3.6.3 locally, and then this issue does not occur.
from sdk_python.
And already in python version 3.5.5 this passes, but I can't find anything in the 3.5.5 release notes that would explain this.
from sdk_python.
Oh boy, is this related to #72 ? I think we need to bump the minimum required python version. The structure the SDK has no can indeed cause for circular dependencies. In early development we also suffered from this. Instead of importing the class directly we import the module. This seems to work fine and the latest version of python3 which was 3.6 at that time. We didn't test on lower versions of python3 🤦♂️.
from sdk_python.
It's not directly related to #72, but they are both about issues running code on python version below python 3.6.
I found the change: it's in version 3.5.0. The release notes at https://docs.python.org/3.5/whatsnew/3.5.html write
Circular imports involving relative imports are now supported. (Contributed by Brett Cannon and Antoine Pitrou in bpo-17636.)
I guess this quite some work to fix (use only import foo
instead of using from foo import bar
). I'll just stick with pyenv; you can increase the minimum required python version to 3.5.
from sdk_python.
Related Issues (20)
- The CHANGELOG is out of date HOT 1
- cannot import name 'ApiContext' from 'bunq.sdk.context' HOT 5
- AttributeError: 'SessionServer' object has no attribute '_user_payment_service_provider' HOT 1
- Complete OAuth/PSD2 implementation HOT 1
- ScheduledPaymentBatch is not in endpoint nor object
- Update tests with Type Hints (and other small Type Hint improvements)
- Is this repository even maintained? HOT 2
- Breaking changes since v1.13.0
- TreeProgress response not correctly parsed HOT 1
- Add a test for oauth_authorization_uri HOT 1
- ApiContext.create with all_permitted_ip=["ipv4"] raises BadRequestException: HTTP Response Code: 400 /w Error message: User credentials are incorrect. Incorrect API key or IP address.
- Adding additional_transaction_information to the Event object
- Remove __get_user_object call immediately after UserContext creation (reduce rate-limit hits)
- Replace /sandbox-user with /sandbox-user-person and /sandbox-user-company
- KeyError 'Id' in _unwrap_response_single (creating callbacks) HOT 1
- Lots of warnings when using the library HOT 1
- Examples are not up to date HOT 2
- Feature request: async support (with aiohttp)
- No wheels for releases newer than 0.13
- Get list of ALL payments 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 sdk_python.