Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev env sqlite db is not being created? #729

Closed
jav099 opened this issue Apr 3, 2021 · 8 comments
Closed

Dev env sqlite db is not being created? #729

jav099 opened this issue Apr 3, 2021 · 8 comments

Comments

@jav099
Copy link

jav099 commented Apr 3, 2021

Hello,

I found this repo and found it very cool and so wanted to contribute.

I followed contributing instructions and got it all set up.

I started making my proposed changes and was using 'make serve' to view the app and do my testing with the demo project.

It was all working fine, I made some last changes and ran make test. I got some errors saying "Hint: make sure your test modules/packages have valid Python names.". I looked this up, and on Stack overflow saw that running pytest directly solved the issue and so I ran "python -m pytest" and saw how all the tests passed.

Afterward, I wanted to go to the demo project again to take screenshots of the proposed changes. I was able to navigate to the home page just fine but then I clicked on the demo and I got this error:

INFO [werkzeug] * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
INFO [werkzeug] 127.0.0.1 - - [02/Apr/2021 20:37:52] "GET / HTTP/1.1" 200 -
INFO [werkzeug] 127.0.0.1 - - [02/Apr/2021 20:37:53] "GET /static/js/popper.min.js.map HTTP/1.1" 404 -
INFO [werkzeug] 127.0.0.1 - - [02/Apr/2021 20:37:53] "GET /static/js/bootstrap.min.js.map HTTP/1.1" 404 -
INFO [werkzeug] 127.0.0.1 - - [02/Apr/2021 20:37:53] "GET /static/css/bootstrap.min.css.map HTTP/1.1" 404 -
ERROR [ihatemoney.run] Exception on /demo [GET] Traceback (most recent call last): File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1244, in _execute_context
cursor, statement, parameters, context File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 552, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such table: project

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/flask_restful/init.py", line 272, in error_router
return original_handler(e)
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/ihatemoney/web.py", line 574, in demo
project = Project.query.get("demo")
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 959, in get
return self._get_impl(ident, loading.load_on_pk_identity)
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 1068, in _get_impl
return db_load_fn(self, primary_key_identity)
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/orm/loading.py", line 282, in load_on_pk_identity
return q.one()
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3274, in one
ret = self.one_or_none()
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3243, in one_or_none
ret = list(self)
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3316, in iter
return self._execute_and_instances(context)
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3341, in _execute_and_instances
result = conn.execute(querycontext.statement, self._params)
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/sql/elements.py", line 287, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1107, in _execute_clauseelement
distilled_params,
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1248, in _execute_context
e, statement, parameters, cursor, context
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1466, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/util/compat.py", line 383, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/util/compat.py", line 128, in reraise
raise value.with_traceback(tb)
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1244, in _execute_context
cursor, statement, parameters, context
File "/Users/javiercontreras/Desktop/EECS481/481-HW6/env/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 552, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: project
[SQL: SELECT project.id AS project_id, project.name AS project_name, project.password AS project_password, project.contact_email AS project_contact_email, project.logging_preference AS project_logging_preference, project.default_currency AS project_default_currency
FROM project
WHERE project.id = ?]
[parameters: ('demo',)]
(Background on this error at: http://sqlalche.me/e/e3q8)

Now I can't view any project but my tests keep passing. Judging by the error message I think maybe by running pytest directly I deleted the db and now it can't find it?

I would appreciate any help, I would really hate all of what I proposed to go to waste because I can't view it anymore

Thanks!!

EDIT: Just to be clear, I am only modifying two HTML files, and adding a function to models.py

@spiral-project spiral-project deleted a comment from jonglezb Apr 4, 2021
@zorun
Copy link
Collaborator

zorun commented Apr 4, 2021

I think the issue is that we use the same sqlite file for tests and for the dev server, which can make things inconsistent.

@Glandos any thoughts about this? should we use another sqlite file for tests?

@jav099
Copy link
Author

jav099 commented Apr 4, 2021

It's a weird issue because doing a clean install again on another directory without adding any of my modified files yielded the same error. However I was finally able to view my changes and make some adjustments by doing a clean install on a VM and then adding my changed files.

@Glandos
Copy link
Member

Glandos commented Apr 5, 2021

make test runs tox with different environments (python 3.6 to 3.9, flake8, black and a last one for documentation). tox uses its own subdirectories, isolated, in .tox/. If you have issues when running tests, you can first try to remove .tox/ directory.
Running pytest directly will run tests with your current environment, which is always better when developing, since it's faster, and some changes are directly used by your tests.
Before opening a PR, it's good to test your complete change set with make test that should be successful.

@jav099
Copy link
Author

jav099 commented Apr 5, 2021

I tried removing .tox/ directory but I still get the same 4 errors, all of which say
ImportError while importing test module '/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/ihatemoney/tests/budget_test.py'
Hint: make sure your test modules/packages have valid Python names.
Any idea why this might be?

Docs, flake8 and black all pass.

@Glandos
Copy link
Member

Glandos commented Apr 5, 2021

Could you provide the full output of make test? You can quote it in a GitHub comment using triple-backticks around it (both on beginning and end) for better rendering.

@jav099
Copy link
Author

jav099 commented Apr 5, 2021

GLOB sdist-make: /Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/setup.py
py39 create: /Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39
py39 installdeps: -e.[dev]
py39 inst: /Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/.tmp/package/1/ihatemoney-5.dev0.zip
py39 installed: alembic==1.5.8,aniso8601==9.0.1,appdirs==1.4.4,attrs==20.3.0,Babel==2.9.0,black==20.8b1,bleach==3.3.0,blinker==1.4,cachetools==4.2.1,certifi==2020.12.5,chardet==4.0.0,click==7.1.2,colorama==0.4.4,debts==0.5,distlib==0.3.1,dnspython==2.1.0,docutils==0.17,email-validator==1.1.2,filelock==3.0.12,flake8==3.9.0,Flask==1.1.2,Flask-Babel==1.0.0,Flask-Cors==3.0.10,Flask-Mail==0.9.1,Flask-Migrate==2.7.0,Flask-RESTful==0.3.8,Flask-Script==2.0.6,Flask-SQLAlchemy==2.5.1,Flask-Testing==0.8.1,Flask-WTF==0.14.3,greenlet==1.0.0,idna==2.10,ihatemoney @ file:///Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/.tmp/package/1/ihatemoney-5.dev0.zip,importlib-metadata==3.10.0,iniconfig==1.1.1,isort==5.8.0,itsdangerous==1.1.0,Jinja2==2.11.3,keyring==23.0.1,Mako==1.1.4,MarkupSafe==1.1.1,mccabe==0.6.1,mypy-extensions==0.4.3,packaging==20.9,pathspec==0.8.1,pkginfo==1.7.0,pluggy==0.13.1,py==1.10.0,pycodestyle==2.7.0,pyflakes==2.3.1,Pygments==2.8.1,pyparsing==2.4.7,pytest==6.2.3,python-dateutil==2.8.1,python-editor==1.0.4,pytz==2021.1,readme-renderer==29.0,regex==2021.4.4,requests==2.25.1,requests-toolbelt==0.9.1,rfc3986==1.4.0,six==1.15.0,SQLAlchemy==1.4.5,SQLAlchemy-Continuum==1.3.11,SQLAlchemy-Utils==0.36.8,toml==0.10.2,tox==3.23.0,tqdm==4.59.0,twine==3.4.1,typed-ast==1.4.2,typing-extensions==3.7.4.3,urllib3==1.26.4,virtualenv==20.4.3,webencodings==0.5.1,Werkzeug==1.0.1,WTForms==2.2.1,zest.releaser==6.22.1,zipp==3.4.1
py39 run-test-pre: PYTHONHASHSEED='467644739'
py39 run-test: commands[0] | python --version
Python 3.9.2
py39 run-test: commands[1] | py.test --pyargs ihatemoney.tests
=============================================================== test session starts ===============================================================
platform darwin -- Python 3.9.2, pytest-6.2.3, py-1.10.0, pluggy-0.13.1
cachedir: /Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/.pytest_cache
rootdir: /private/tmp
collected 0 items / 4 errors                                                                                                                      

===================================================================== ERRORS ======================================================================
__________________________________________________________ ERROR collecting api_test.py ___________________________________________________________
ImportError while importing test module '/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/ihatemoney/tests/api_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/Cellar/[email protected]/3.9.2/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/ihatemoney/tests/api_test.py:7: in <module>
    from ihatemoney.tests.common.ihatemoney_testcase import IhatemoneyTestCase
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/ihatemoney/tests/common/ihatemoney_testcase.py:4: in <module>
    from ihatemoney import models
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/ihatemoney/models.py:16: in <module>
    from sqlalchemy_continuum import make_versioned, version_class
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_continuum/__init__.py:3: in <module>
    from .manager import VersioningManager
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_continuum/manager.py:6: in <module>
    from sqlalchemy_utils import get_column_key
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/__init__.py:1: in <module>
    from .aggregates import aggregated  # noqa
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/aggregates.py:372: in <module>
    from .functions.orm import get_column_key
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/functions/__init__.py:1: in <module>
    from .database import (  # noqa
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/functions/database.py:11: in <module>
    from .orm import quote
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/functions/orm.py:14: in <module>
    from sqlalchemy.orm.query import _ColumnEntity
E   ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' (/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy/orm/query.py)
_________________________________________________________ ERROR collecting budget_test.py _________________________________________________________
ImportError while importing test module '/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/ihatemoney/tests/budget_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/Cellar/[email protected]/3.9.2/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/ihatemoney/tests/budget_test.py:11: in <module>
    from ihatemoney import models, utils
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/ihatemoney/models.py:16: in <module>
    from sqlalchemy_continuum import make_versioned, version_class
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_continuum/__init__.py:3: in <module>
    from .manager import VersioningManager
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_continuum/manager.py:6: in <module>
    from sqlalchemy_utils import get_column_key
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/__init__.py:1: in <module>
    from .aggregates import aggregated  # noqa
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/aggregates.py:372: in <module>
    from .functions.orm import get_column_key
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/functions/__init__.py:1: in <module>
    from .database import (  # noqa
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/functions/database.py:11: in <module>
    from .orm import quote
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/functions/orm.py:14: in <module>
    from sqlalchemy.orm.query import _ColumnEntity
E   ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' (/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy/orm/query.py)
________________________________________________________ ERROR collecting history_test.py _________________________________________________________
ImportError while importing test module '/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/ihatemoney/tests/history_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/Cellar/[email protected]/3.9.2/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/ihatemoney/tests/history_test.py:3: in <module>
    from ihatemoney import history, models
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/ihatemoney/history.py:2: in <module>
    from sqlalchemy_continuum import Operation, parent_class
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_continuum/__init__.py:3: in <module>
    from .manager import VersioningManager
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_continuum/manager.py:6: in <module>
    from sqlalchemy_utils import get_column_key
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/__init__.py:1: in <module>
    from .aggregates import aggregated  # noqa
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/aggregates.py:372: in <module>
    from .functions.orm import get_column_key
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/functions/__init__.py:1: in <module>
    from .database import (  # noqa
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/functions/database.py:11: in <module>
    from .orm import quote
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/functions/orm.py:14: in <module>
    from sqlalchemy.orm.query import _ColumnEntity
E   ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' (/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy/orm/query.py)
__________________________________________________________ ERROR collecting main_test.py __________________________________________________________
ImportError while importing test module '/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/ihatemoney/tests/main_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/Cellar/[email protected]/3.9.2/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/ihatemoney/tests/main_test.py:10: in <module>
    from ihatemoney import models
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/ihatemoney/models.py:16: in <module>
    from sqlalchemy_continuum import make_versioned, version_class
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_continuum/__init__.py:3: in <module>
    from .manager import VersioningManager
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_continuum/manager.py:6: in <module>
    from sqlalchemy_utils import get_column_key
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/__init__.py:1: in <module>
    from .aggregates import aggregated  # noqa
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/aggregates.py:372: in <module>
    from .functions.orm import get_column_key
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/functions/__init__.py:1: in <module>
    from .database import (  # noqa
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/functions/database.py:11: in <module>
    from .orm import quote
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy_utils/functions/orm.py:14: in <module>
    from sqlalchemy.orm.query import _ColumnEntity
E   ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' (/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/lib/python3.9/site-packages/sqlalchemy/orm/query.py)
============================================================= short test summary info =============================================================
ERROR api_test.py
ERROR budget_test.py
ERROR history_test.py
ERROR main_test.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================ 4 errors in 1.50s ================================================================
ERROR: InvocationError for command /Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py39/bin/py.test --pyargs ihatemoney.tests (exited with code 2)
py38 create: /Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py38
SKIPPED: InterpreterNotFound: python3.8
py37 create: /Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37
py37 installdeps: -e.[dev]
py37 inst: /Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/.tmp/package/1/ihatemoney-5.dev0.zip
py37 installed: alembic==1.5.8,aniso8601==9.0.1,appdirs==1.4.4,attrs==20.3.0,Babel==2.9.0,black==20.8b1,bleach==3.3.0,blinker==1.4,cachetools==4.2.1,certifi==2020.12.5,chardet==4.0.0,click==7.1.2,colorama==0.4.4,debts==0.5,distlib==0.3.1,dnspython==2.1.0,docutils==0.17,email-validator==1.1.2,filelock==3.0.12,flake8==3.9.0,Flask==1.1.2,Flask-Babel==1.0.0,Flask-Cors==3.0.10,Flask-Mail==0.9.1,Flask-Migrate==2.7.0,Flask-RESTful==0.3.8,Flask-Script==2.0.6,Flask-SQLAlchemy==2.5.1,Flask-Testing==0.8.1,Flask-WTF==0.14.3,greenlet==1.0.0,idna==2.10,ihatemoney @ file:///Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/.tmp/package/1/ihatemoney-5.dev0.zip,importlib-metadata==3.10.0,iniconfig==1.1.1,isort==5.8.0,itsdangerous==1.1.0,Jinja2==2.11.3,keyring==23.0.1,Mako==1.1.4,MarkupSafe==1.1.1,mccabe==0.6.1,mypy-extensions==0.4.3,packaging==20.9,pathspec==0.8.1,pkginfo==1.7.0,pluggy==0.13.1,py==1.10.0,pycodestyle==2.7.0,pyflakes==2.3.1,Pygments==2.8.1,pyparsing==2.4.7,pytest==6.2.3,python-dateutil==2.8.1,python-editor==1.0.4,pytz==2021.1,readme-renderer==29.0,regex==2021.4.4,requests==2.25.1,requests-toolbelt==0.9.1,rfc3986==1.4.0,six==1.15.0,SQLAlchemy==1.4.5,SQLAlchemy-Continuum==1.3.11,SQLAlchemy-Utils==0.36.8,toml==0.10.2,tox==3.23.0,tqdm==4.59.0,twine==3.4.1,typed-ast==1.4.2,typing-extensions==3.7.4.3,urllib3==1.26.4,virtualenv==20.4.3,webencodings==0.5.1,Werkzeug==1.0.1,WTForms==2.2.1,zest.releaser==6.22.1,zipp==3.4.1
py37 run-test-pre: PYTHONHASHSEED='467644739'
py37 run-test: commands[0] | python --version
Python 3.7.1
py37 run-test: commands[1] | py.test --pyargs ihatemoney.tests
=============================================================== test session starts ===============================================================
platform darwin -- Python 3.7.1, pytest-6.2.3, py-1.10.0, pluggy-0.13.1
cachedir: /Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/.pytest_cache
rootdir: /private/tmp
collected 0 items / 4 errors                                                                                                                      

===================================================================== ERRORS ======================================================================
__________________________________________________________ ERROR collecting api_test.py ___________________________________________________________
ImportError while importing test module '/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/ihatemoney/tests/api_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/ihatemoney/tests/api_test.py:7: in <module>
    from ihatemoney.tests.common.ihatemoney_testcase import IhatemoneyTestCase
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/ihatemoney/tests/common/ihatemoney_testcase.py:4: in <module>
    from ihatemoney import models
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/ihatemoney/models.py:16: in <module>
    from sqlalchemy_continuum import make_versioned, version_class
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_continuum/__init__.py:3: in <module>
    from .manager import VersioningManager
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_continuum/manager.py:6: in <module>
    from sqlalchemy_utils import get_column_key
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/__init__.py:1: in <module>
    from .aggregates import aggregated  # noqa
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/aggregates.py:372: in <module>
    from .functions.orm import get_column_key
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/functions/__init__.py:1: in <module>
    from .database import (  # noqa
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/functions/database.py:11: in <module>
    from .orm import quote
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/functions/orm.py:14: in <module>
    from sqlalchemy.orm.query import _ColumnEntity
E   ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' (/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy/orm/query.py)
_________________________________________________________ ERROR collecting budget_test.py _________________________________________________________
ImportError while importing test module '/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/ihatemoney/tests/budget_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/ihatemoney/tests/budget_test.py:11: in <module>
    from ihatemoney import models, utils
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/ihatemoney/models.py:16: in <module>
    from sqlalchemy_continuum import make_versioned, version_class
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_continuum/__init__.py:3: in <module>
    from .manager import VersioningManager
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_continuum/manager.py:6: in <module>
    from sqlalchemy_utils import get_column_key
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/__init__.py:1: in <module>
    from .aggregates import aggregated  # noqa
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/aggregates.py:372: in <module>
    from .functions.orm import get_column_key
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/functions/__init__.py:1: in <module>
    from .database import (  # noqa
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/functions/database.py:11: in <module>
    from .orm import quote
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/functions/orm.py:14: in <module>
    from sqlalchemy.orm.query import _ColumnEntity
E   ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' (/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy/orm/query.py)
________________________________________________________ ERROR collecting history_test.py _________________________________________________________
ImportError while importing test module '/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/ihatemoney/tests/history_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/ihatemoney/tests/history_test.py:3: in <module>
    from ihatemoney import history, models
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/ihatemoney/history.py:2: in <module>
    from sqlalchemy_continuum import Operation, parent_class
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_continuum/__init__.py:3: in <module>
    from .manager import VersioningManager
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_continuum/manager.py:6: in <module>
    from sqlalchemy_utils import get_column_key
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/__init__.py:1: in <module>
    from .aggregates import aggregated  # noqa
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/aggregates.py:372: in <module>
    from .functions.orm import get_column_key
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/functions/__init__.py:1: in <module>
    from .database import (  # noqa
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/functions/database.py:11: in <module>
    from .orm import quote
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/functions/orm.py:14: in <module>
    from sqlalchemy.orm.query import _ColumnEntity
E   ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' (/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy/orm/query.py)
__________________________________________________________ ERROR collecting main_test.py __________________________________________________________
ImportError while importing test module '/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/ihatemoney/tests/main_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/ihatemoney/tests/main_test.py:10: in <module>
    from ihatemoney import models
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/ihatemoney/models.py:16: in <module>
    from sqlalchemy_continuum import make_versioned, version_class
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_continuum/__init__.py:3: in <module>
    from .manager import VersioningManager
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_continuum/manager.py:6: in <module>
    from sqlalchemy_utils import get_column_key
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/__init__.py:1: in <module>
    from .aggregates import aggregated  # noqa
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/aggregates.py:372: in <module>
    from .functions.orm import get_column_key
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/functions/__init__.py:1: in <module>
    from .database import (  # noqa
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/functions/database.py:11: in <module>
    from .orm import quote
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy_utils/functions/orm.py:14: in <module>
    from sqlalchemy.orm.query import _ColumnEntity
E   ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' (/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/lib/python3.7/site-packages/sqlalchemy/orm/query.py)
============================================================= short test summary info =============================================================
ERROR api_test.py
ERROR budget_test.py
ERROR history_test.py
ERROR main_test.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================ 4 errors in 2.00s ================================================================
ERROR: InvocationError for command /Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py37/bin/py.test --pyargs ihatemoney.tests (exited with code 2)
py36 create: /Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/py36
SKIPPED: InterpreterNotFound: python3.6
docs create: /Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/docs
docs installdeps: -rdocs/requirements.txt
docs inst: /Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/.tmp/package/1/ihatemoney-5.dev0.zip
docs installed: alabaster==0.7.12,alembic==1.5.8,aniso8601==9.0.1,Babel==2.9.0,blinker==1.4,cachetools==4.2.1,certifi==2020.12.5,chardet==4.0.0,click==7.1.2,debts==0.5,dnspython==2.1.0,docutils==0.16,email-validator==1.1.2,Flask==1.1.2,Flask-Babel==1.0.0,Flask-Cors==3.0.10,Flask-Mail==0.9.1,Flask-Migrate==2.7.0,Flask-RESTful==0.3.8,Flask-Script==2.0.6,Flask-SQLAlchemy==2.5.1,Flask-WTF==0.14.3,greenlet==1.0.0,idna==2.10,ihatemoney @ file:///Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/.tmp/package/1/ihatemoney-5.dev0.zip,imagesize==1.2.0,itsdangerous==1.1.0,Jinja2==2.11.3,Mako==1.1.4,MarkupSafe==1.1.1,packaging==20.9,Pygments==2.8.1,pyparsing==2.4.7,python-dateutil==2.8.1,python-editor==1.0.4,pytz==2021.1,requests==2.25.1,six==1.15.0,snowballstemmer==2.1.0,Sphinx==3.5.3,sphinxcontrib-applehelp==1.0.2,sphinxcontrib-devhelp==1.0.2,sphinxcontrib-htmlhelp==1.0.3,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==1.0.3,sphinxcontrib-serializinghtml==1.1.4,SQLAlchemy==1.4.5,SQLAlchemy-Continuum==1.3.11,SQLAlchemy-Utils==0.36.8,urllib3==1.26.4,Werkzeug==1.0.1,WTForms==2.2.1
docs run-test-pre: PYTHONHASHSEED='467644739'
docs run-test: commands[0] | sphinx-build -a -n -b html -d docs/_build/doctrees docs docs/_build/html
Running Sphinx v3.5.3
loading pickled environment... done
building [mo]: all of 0 po files
building [html]: all source files
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
preparing documents... done
writing output... [ 16%] api
writing output... [ 33%] configuration
writing output... [ 50%] contributing
writing output... [ 66%] index
writing output... [ 83%] installation
writing output... [100%] upgrade

generating indices... genindex done
writing additional pages... search done
copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.

The HTML pages are in docs/_build/html.
flake8 create: /Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/flake8
flake8 installdeps: -e.[dev]
flake8 inst: /Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/.tmp/package/1/ihatemoney-5.dev0.zip
flake8 installed: alembic==1.5.8,aniso8601==9.0.1,appdirs==1.4.4,attrs==20.3.0,Babel==2.9.0,black==20.8b1,bleach==3.3.0,blinker==1.4,cachetools==4.2.1,certifi==2020.12.5,chardet==4.0.0,click==7.1.2,colorama==0.4.4,debts==0.5,distlib==0.3.1,dnspython==2.1.0,docutils==0.17,email-validator==1.1.2,filelock==3.0.12,flake8==3.9.0,Flask==1.1.2,Flask-Babel==1.0.0,Flask-Cors==3.0.10,Flask-Mail==0.9.1,Flask-Migrate==2.7.0,Flask-RESTful==0.3.8,Flask-Script==2.0.6,Flask-SQLAlchemy==2.5.1,Flask-Testing==0.8.1,Flask-WTF==0.14.3,greenlet==1.0.0,idna==2.10,ihatemoney @ file:///Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/.tmp/package/1/ihatemoney-5.dev0.zip,importlib-metadata==3.10.0,iniconfig==1.1.1,isort==5.8.0,itsdangerous==1.1.0,Jinja2==2.11.3,keyring==23.0.1,Mako==1.1.4,MarkupSafe==1.1.1,mccabe==0.6.1,mypy-extensions==0.4.3,packaging==20.9,pathspec==0.8.1,pkginfo==1.7.0,pluggy==0.13.1,py==1.10.0,pycodestyle==2.7.0,pyflakes==2.3.1,Pygments==2.8.1,pyparsing==2.4.7,pytest==6.2.3,python-dateutil==2.8.1,python-editor==1.0.4,pytz==2021.1,readme-renderer==29.0,regex==2021.4.4,requests==2.25.1,requests-toolbelt==0.9.1,rfc3986==1.4.0,six==1.15.0,SQLAlchemy==1.4.5,SQLAlchemy-Continuum==1.3.11,SQLAlchemy-Utils==0.36.8,toml==0.10.2,tox==3.23.0,tqdm==4.59.0,twine==3.4.1,typed-ast==1.4.2,typing-extensions==3.7.4.3,urllib3==1.26.4,virtualenv==20.4.3,webencodings==0.5.1,Werkzeug==1.0.1,WTForms==2.2.1,zest.releaser==6.22.1,zipp==3.4.1
flake8 run-test-pre: PYTHONHASHSEED='467644739'
flake8 run-test: commands[0] | flake8 ihatemoney
black create: /Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/black
black installdeps: -e.[dev]
black inst: /Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/.tmp/package/1/ihatemoney-5.dev0.zip
black installed: alembic==1.5.8,aniso8601==9.0.1,appdirs==1.4.4,attrs==20.3.0,Babel==2.9.0,black==20.8b1,bleach==3.3.0,blinker==1.4,cachetools==4.2.1,certifi==2020.12.5,chardet==4.0.0,click==7.1.2,colorama==0.4.4,debts==0.5,distlib==0.3.1,dnspython==2.1.0,docutils==0.17,email-validator==1.1.2,filelock==3.0.12,flake8==3.9.0,Flask==1.1.2,Flask-Babel==1.0.0,Flask-Cors==3.0.10,Flask-Mail==0.9.1,Flask-Migrate==2.7.0,Flask-RESTful==0.3.8,Flask-Script==2.0.6,Flask-SQLAlchemy==2.5.1,Flask-Testing==0.8.1,Flask-WTF==0.14.3,greenlet==1.0.0,idna==2.10,ihatemoney @ file:///Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/.tmp/package/1/ihatemoney-5.dev0.zip,importlib-metadata==3.10.0,iniconfig==1.1.1,isort==5.8.0,itsdangerous==1.1.0,Jinja2==2.11.3,keyring==23.0.1,Mako==1.1.4,MarkupSafe==1.1.1,mccabe==0.6.1,mypy-extensions==0.4.3,packaging==20.9,pathspec==0.8.1,pkginfo==1.7.0,pluggy==0.13.1,py==1.10.0,pycodestyle==2.7.0,pyflakes==2.3.1,Pygments==2.8.1,pyparsing==2.4.7,pytest==6.2.3,python-dateutil==2.8.1,python-editor==1.0.4,pytz==2021.1,readme-renderer==29.0,regex==2021.4.4,requests==2.25.1,requests-toolbelt==0.9.1,rfc3986==1.4.0,six==1.15.0,SQLAlchemy==1.4.5,SQLAlchemy-Continuum==1.3.11,SQLAlchemy-Utils==0.36.8,toml==0.10.2,tox==3.23.0,tqdm==4.59.0,twine==3.4.1,typed-ast==1.4.2,typing-extensions==3.7.4.3,urllib3==1.26.4,virtualenv==20.4.3,webencodings==0.5.1,Werkzeug==1.0.1,WTForms==2.2.1,zest.releaser==6.22.1,zipp==3.4.1
black run-test-pre: PYTHONHASHSEED='467644739'
black run-test: commands[0] | black --check --target-version=py36 .
All done! ✨ 🍰 ✨
37 files would be left unchanged.
black run-test: commands[1] | isort -c -rc .
Skipped 6 files
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/black/lib/python3.9/site-packages/isort/main.py:1206: UserWarning: W0501: The following deprecated CLI flags were used and ignored: -rc!
  warn(
/Users/javiercontreras/Desktop/EECS481/481-HW6/ihatemoney/.tox/black/lib/python3.9/site-packages/isort/main.py:1210: UserWarning: W0500: Please see the 5.0.0 Upgrade guide: https://pycqa.github.io/isort/docs/upgrade_guides/5.0.0/
  warn(
_____________________________________________________________________ summary _____________________________________________________________________
ERROR:   py39: commands failed
SKIPPED:  py38: InterpreterNotFound: python3.8
ERROR:   py37: commands failed
SKIPPED:  py36: InterpreterNotFound: python3.6
  docs: commands succeeded
  flake8: commands succeeded
  black: commands succeeded```

@Glandos
Copy link
Member

Glandos commented Apr 5, 2021

You are missing #730. I encountered the same issue today 😉 SQLAlchemy 1.4 broke its API, and SQLAlchemy-continuum is not up to date for it.

Without leaving your environment you can:

  • git fetch upstream (if your remote for this project is named upstream)
  • git rebase upstream/master

Remove .tox/ subdir, and re-run it.

@jav099
Copy link
Author

jav099 commented Apr 5, 2021

That fixed it, and all tests passed. thanks!! I'll be submitting the PR soon :)

@jav099 jav099 closed this as completed Apr 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants