Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Deprecation warnings in SQLalchemy #22

Closed
bluec0re opened this issue Apr 17, 2020 · 1 comment
Closed

Deprecation warnings in SQLalchemy #22

bluec0re opened this issue Apr 17, 2020 · 1 comment

Comments

@bluec0re
Copy link
Contributor

=========================================================== warnings summary ===========================================================
tests/app_tests/api/test_routes.py::test_save_editor_data[query0-data0-400-expected_response0]
  /usr/local/lib/python3.7/site-packages/sqlalchemy/orm/relationships.py:1917: SAWarning: Setting backref / back_populates on relationship RepositoryFileComments.commit to refer to viewonly relationship VulnerabilityGitCommits.comments will be deprecated in SQLAlchemy 1.4, and will be disallowed in a future release.  viewonly relationships should not be mutated (this warning may be suppressed after 10 occurrences)
    (self, other),

tests/app_tests/api/test_routes.py::test_save_editor_data[query0-data0-400-expected_response0]
  /usr/local/lib/python3.7/site-packages/sqlalchemy/orm/relationships.py:1917: SAWarning: Setting backref / back_populates on relationship VulnerabilityGitCommits.comments to refer to viewonly relationship RepositoryFileComments.commit will be deprecated in SQLAlchemy 1.4, and will be disallowed in a future release.  viewonly relationships should not be mutated (this warning may be suppressed after 10 occurrences)
    (self, other),

tests/app_tests/api/test_routes.py::test_save_editor_data[query0-data0-400-expected_response0]
  /usr/local/lib/python3.7/site-packages/sqlalchemy/orm/relationships.py:1917: SAWarning: Setting backref / back_populates on relationship RepositoryFileMarkers.commit to refer to viewonly relationship VulnerabilityGitCommits.markers will be deprecated in SQLAlchemy 1.4, and will be disallowed in a future release.  viewonly relationships should not be mutated (this warning may be suppressed after 10 occurrences)
    (self, other),

tests/app_tests/api/test_routes.py::test_save_editor_data[query0-data0-400-expected_response0]
  /usr/local/lib/python3.7/site-packages/sqlalchemy/orm/relationships.py:1917: SAWarning: Setting backref / back_populates on relationship VulnerabilityGitCommits.markers to refer to viewonly relationship RepositoryFileMarkers.commit will be deprecated in SQLAlchemy 1.4, and will be disallowed in a future release.  viewonly relationships should not be mutated (this warning may be suppressed after 10 occurrences)
    (self, other),

-- Docs: https://docs.pytest.org/en/latest/warnings.html
@bluec0re bluec0re added enhancement New feature or request low_priority maintenance and removed enhancement New feature or request labels Apr 17, 2020
@evonide
Copy link
Contributor

evonide commented May 3, 2020

Solved by a689c06.

@evonide evonide closed this as completed May 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants