Comments (4)
@dcrosta Is there any update for the above issue?
from flask-pymongo.
There's no tox environment py38
. Flask-PyMongo uses tox a little differently, specifically, it uses tox to manage the testing matrix of pymongo, flask, and mongodb versions (via tox-docker). Your tests will run in whatever python you invoke tox
with. Check tox -l
for a list of environments we test with.
(In CI, we test will all supported Python versions, as well, but not typically on local machines, at least I haven't been).
from flask-pymongo.
Hi @dcrosta
I have tested flask-pymongo package for x86_64 and arm64 architectures on Azure Pipelines. While testing this package using tox
I am getting the below error. On x86_64 it is only passing for flask20 and failed for other testing matrix.
Error on x86_64:
E ImportError: cannot import name 'json' from 'itsdangerous'
E ImportError: cannot import name 'soft_unicode' from 'markupsafe'
Error on arm64:
AttributeError: 'TestenvConfig' object has no attribute '_docker_containers'
Test output at x86_64: test_flaskpymongo_x86_py38.txt
Test output at arm64: test_flaskpymongo_arm64_py38.txt
Could you please check and share your feedback for the same.
from flask-pymongo.
E ImportError: cannot import name 'json' from 'itsdangerous'
This is resolved in flask > 1.1.4, I guess flask 1.0 is abandoned at this point. I'll accept a pull request to remove it from the test matrix
E ImportError: cannot import name 'soft_unicode' from 'markupsafe'
This probably should be reported against Jinja, if they still support Jinja 2.x. If they don't, then we should remove Flask 1.1 from the test matrix as well.
AttributeError: 'TestenvConfig' object has no attribute '_docker_containers'
I don't get this error in the official azure pipeline ... I don't know what you're configured differently. Probably it means that either the docker
python module isn't installed or docker itself isn't installed or working.
Why are you trying to set up CI for flask-pymongo anyway?
from flask-pymongo.
Related Issues (20)
- Authentication issue HOT 1
- Unexpected keyword argument 'lifetime' HOT 3
- Error Handling HOT 2
- TypeError: argument must be an int, or have a fileno() method while trying to use send_file HOT 4
- [Request] Add support for `db` in GridFS functions
- OperationFailure
- Better authentication documentation? HOT 1
- cannot start the motor due to AttributeError: type object 'Cursor' has no attribute 'allow_disk_use' HOT 1
- flask-pymongo version supporting mongo 2.4 (raspbian) HOT 1
- search referncefield HOT 3
- the converter 'ObjectId' does not exist HOT 1
- send_file throwing an error in werkzeug by passing a None-type to function that requires str HOT 2
- hi HOT 6
- hi
- hi HOT 1
- Collection.find_one_or_404 hides stack trace
- Flask-Pymongo not connecting to online mongodb HOT 1
- Change in Flask api - JSONProvider interface replaces JSONEncoder
- TypeError while reading files HOT 2
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 flask-pymongo.