You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on application startup I get the following exception and the program won't start:
Traceback (most recent call last):
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/bin/doorstop-edit", line 5, in
from doorstop_edit.main import main
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/lib/python3.11/site-packages/doorstop_edit/main.py", line 9, in
import doorstop
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/lib/python3.11/site-packages/doorstop/init.py", line 8, in
from doorstop.core import (
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/lib/python3.11/site-packages/doorstop/core/exporter.py", line 10, in
import openpyxl
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/lib/python3.11/site-packages/openpyxl/init.py", line 4, in
from openpyxl.compat.numbers import NUMPY, PANDAS
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/lib/python3.11/site-packages/openpyxl/compat/init.py", line 5, in
from .strings import (
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/lib/python3.11/site-packages/openpyxl/compat/strings.py", line 10, in
from .numbers import NUMERIC_TYPES
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/lib/python3.11/site-packages/openpyxl/compat/numbers.py", line 49, in
numpy.float,
^^^^^^^^^^^
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/lib/python3.11/site-packages/numpy/init.py", line 324, in getattr
raise AttributeError(former_attrs[attr])
AttributeError: module 'numpy' has no attribute 'float'. np.float was a deprecated alias for the builtin float. To avoid this error in existing code, use float by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64 here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'cfloat'?
Version dump:
v0.1.1
Additional information:
likely a dependency not updated (openpyxl)
The text was updated successfully, but these errors were encountered:
Description of problem:
on application startup I get the following exception and the program won't start:
Traceback (most recent call last):
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/bin/doorstop-edit", line 5, in
from doorstop_edit.main import main
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/lib/python3.11/site-packages/doorstop_edit/main.py", line 9, in
import doorstop
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/lib/python3.11/site-packages/doorstop/init.py", line 8, in
from doorstop.core import (
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/lib/python3.11/site-packages/doorstop/core/exporter.py", line 10, in
import openpyxl
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/lib/python3.11/site-packages/openpyxl/init.py", line 4, in
from openpyxl.compat.numbers import NUMPY, PANDAS
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/lib/python3.11/site-packages/openpyxl/compat/init.py", line 5, in
from .strings import (
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/lib/python3.11/site-packages/openpyxl/compat/strings.py", line 10, in
from .numbers import NUMERIC_TYPES
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/lib/python3.11/site-packages/openpyxl/compat/numbers.py", line 49, in
numpy.float,
^^^^^^^^^^^
File "/mnt/data/dev/src/gitlab.com/web/backend/backend-fastapi/backend/.venv/lib/python3.11/site-packages/numpy/init.py", line 324, in getattr
raise AttributeError(former_attrs[attr])
AttributeError: module 'numpy' has no attribute 'float'.
np.float
was a deprecated alias for the builtinfloat
. To avoid this error in existing code, usefloat
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.float64
here.The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'cfloat'?
Version dump:
v0.1.1
Additional information:
likely a dependency not updated (openpyxl)
The text was updated successfully, but these errors were encountered: