Giter Club home page Giter Club logo

Comments (4)

odidev avatar odidev commented on August 16, 2024

@dcrosta Is there any update for the above issue?

from flask-pymongo.

dcrosta avatar dcrosta commented on August 16, 2024

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.

odidev avatar odidev commented on August 16, 2024

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.

dcrosta avatar dcrosta commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.