Describe the bug
A ValueError occurs when attempting to run SchemaChange, this did not occur last Friday (6/14) but is occurring this Monday (6/17).
To Reproduce
Steps to reproduce the behavior:
- pip install schemachange
- run schemachange
Expected behavior
Application of a versioned migration and repeatable files.
Screenshots
2024-06-17T15:57:56.5457992Z Traceback (most recent call last):
2024-06-17T15:57:56.5458535Z File "/opt/hostedtoolcache/Python/3.10.14/x64/bin/schemachange", line 5, in
2024-06-17T15:57:56.5458837Z from schemachange.cli import main
2024-06-17T15:57:56.5459520Z File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/schemachange/cli.py", line 15, in
2024-06-17T15:57:56.5459791Z import snowflake.connector
2024-06-17T15:57:56.5460319Z File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/snowflake/connector/init.py", line 19, in
2024-06-17T15:57:56.5460671Z from .connection import SnowflakeConnection
2024-06-17T15:57:56.5461162Z File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/snowflake/connector/connection.py", line 35, in
2024-06-17T15:57:56.5461731Z from . import errors, proxy
2024-06-17T15:57:56.5462137Z File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/snowflake/connector/errors.py", line 15, in
2024-06-17T15:57:56.5462514Z from .compat import BASE_EXCEPTION_CLASS
2024-06-17T15:57:56.5462948Z File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/snowflake/connector/compat.py", line 19, in
2024-06-17T15:57:56.5463285Z from . import constants
2024-06-17T15:57:56.5463719Z File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/snowflake/connector/constants.py", line 12, in
2024-06-17T15:57:56.5463989Z from .options import pyarrow as pa
2024-06-17T15:57:56.5464397Z File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/snowflake/connector/options.py", line 135, in
2024-06-17T15:57:56.5464708Z pandas, pyarrow, installed_pandas = _import_or_missing_pandas_option()
2024-06-17T15:57:56.5465295Z File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/snowflake/connector/options.py", line 77, in _import_or_missing_pandas_option
2024-06-17T15:57:56.5465683Z pandas = importlib.import_module("pandas")
2024-06-17T15:57:56.5465951Z File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/init.py", line 126, in import_module
2024-06-17T15:57:56.5515033Z return _bootstrap._gcd_import(name[level:], package, level)
2024-06-17T15:57:56.5516339Z File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pandas/init.py", line 22, in
2024-06-17T15:57:56.5516827Z from pandas.compat import is_numpy_dev as _is_numpy_dev # pyright: ignore # noqa:F401
2024-06-17T15:57:56.5517385Z File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pandas/compat/init.py", line 18, in
2024-06-17T15:57:56.5518015Z from pandas.compat.numpy import (
2024-06-17T15:57:56.5518522Z File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pandas/compat/numpy/init.py", line 4, in
2024-06-17T15:57:56.5518894Z from pandas.util.version import Version
2024-06-17T15:57:56.5519393Z File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pandas/util/init.py", line 2, in
2024-06-17T15:57:56.5519762Z from pandas.util._decorators import ( # noqa:F401
2024-06-17T15:57:56.5520269Z File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pandas/util/_decorators.py", line 14, in
2024-06-17T15:57:56.5520620Z from pandas._libs.properties import cache_readonly
2024-06-17T15:57:56.5521222Z File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pandas/_libs/init.py", line 13, in
2024-06-17T15:57:56.5521536Z from pandas._libs.interval import Interval
2024-06-17T15:57:56.5521835Z File "pandas/_libs/interval.pyx", line 1, in init pandas._libs.interval
2024-06-17T15:57:56.5522229Z ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
Schemachange (please complete the following information):