Skip to content

system test are failing with latest python spanner release #645

Closed
@vi3k6i5

Description

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

Metadata

Assignees

No one assigned

    Labels

    api: spannerIssues related to the googleapis/python-spanner-django API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions