Skip to content

system test are failing with latest python spanner release #645

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

Closed
vi3k6i5 opened this issue Jun 15, 2021 · 0 comments · Fixed by #646 or #647
Closed

system test are failing with latest python spanner release #645

vi3k6i5 opened this issue Jun 15, 2021 · 0 comments · Fixed by #646 or #647
Labels
api: spanner Issues related to the googleapis/python-spanner-django API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@vi3k6i5
Copy link
Contributor

vi3k6i5 commented Jun 15, 2021

System test is failing with nox -s system command.

>           raise ValueError(NUMERIC_MAX_SCALE_ERR_MSG.format(abs(scale)))
E           ValueError: Max scale for a numeric is 9. The requested numeric has scale 28

Environment details

  • Programming language: python
  • OS: Mac
  • Language runtime version: python 3.8
  • Package version:
    django-google-spanner 2.2.1b1
    google-cloud-spanner 3.4.0

Steps to reproduce

  1. Run nox -s system test

The test raises Value error

FAILED tests/system/django_spanner/test_decimal.py::TestDecimal::test_decimal_precision_limit - ValueError: Max scale for a numeric is 9. The requested numeric has scale 28
@vi3k6i5 vi3k6i5 added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p2 Moderately-important priority. Fix may not be included in next release. labels Jun 15, 2021
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/python-spanner-django API. label Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/python-spanner-django API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
1 participant