RomelTorres / alpha_vantage

A python wrapper for Alpha Vantage API for financial data.
MIT License
4.3k stars 741 forks source link

error: can't copy 'alpha_vantage/async_support/sectorperformance.py': doesn't exist or not a regular file #380

Closed yurivict closed 3 months ago

yurivict commented 3 months ago

Build fails:

===>  Building for py311-alpha-vantage-3.0.0
(cd /usr/ports/finance/py-alpha-vantage/work-py311/alpha_vantage-3.0.0; /usr/bin/env -i HOME=/usr/ports/finance/py-alpha-vantage/work-py311  PWD="${PWD}"  __MAKE_CONF=/nonexistent OSVERSION=1401500 PATH=/usr/local/libexec/ccache:/usr/ports/finance/py-alpha-vantage/work-py311/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin TERM=xterm-256color XDG_DATA_HOME=/usr/ports/finance/py-alpha-vantage/work-py311  XDG_CONFIG_HOME=/usr/ports/finance/py-alpha-vantage/work-py311  XDG_CACHE_HOME=/usr/ports/finance/py-alpha-vantage/work-py311/.cache  HOME=/usr/ports/finance/py-alpha-vantage/work-py311 PATH=/usr/local/libexec/ccache:/usr/ports/finance/py-alpha-vantage/work-py311/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/usr/ports/finance/py-alpha-vantage/work-py311/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " CCACHE_DIR="/tmp/.ccache" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" /usr/local/bin/python3.11 -c  "import sys; import setuptools;  __file__='setup.py'; sys.argv[0]='setup.py';  exec(compile(open(__file__, 'rb').read().replace(b'\\r\\n', b'\\n'), __file__, 'exec'))" build )
/usr/local/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
  warnings.warn(
/usr/local/lib/python3.11/site-packages/setuptools/_distutils/dist.py:257: UserWarning: Unknown distribution option: 'test_requires'
  warnings.warn(msg)
/usr/local/lib/python3.11/site-packages/setuptools/_distutils/dist.py:257: UserWarning: Unknown distribution option: 'extras_requires'
  warnings.warn(msg)
running build
running build_py
creating build
creating build/lib
creating build/lib/alpha_vantage
copying alpha_vantage/__init__.py -> build/lib/alpha_vantage
copying alpha_vantage/alphaintelligence.py -> build/lib/alpha_vantage
copying alpha_vantage/alphavantage.py -> build/lib/alpha_vantage
copying alpha_vantage/commodities.py -> build/lib/alpha_vantage
copying alpha_vantage/cryptocurrencies.py -> build/lib/alpha_vantage
copying alpha_vantage/econindicators.py -> build/lib/alpha_vantage
copying alpha_vantage/foreignexchange.py -> build/lib/alpha_vantage
copying alpha_vantage/fundamentaldata.py -> build/lib/alpha_vantage
copying alpha_vantage/options.py -> build/lib/alpha_vantage
copying alpha_vantage/techindicators.py -> build/lib/alpha_vantage
copying alpha_vantage/timeseries.py -> build/lib/alpha_vantage
creating build/lib/alpha_vantage/async_support
copying alpha_vantage/async_support/__init__.py -> build/lib/alpha_vantage/async_support
copying alpha_vantage/async_support/alphavantage.py -> build/lib/alpha_vantage/async_support
copying alpha_vantage/async_support/cryptocurrencies.py -> build/lib/alpha_vantage/async_support
copying alpha_vantage/async_support/foreignexchange.py -> build/lib/alpha_vantage/async_support
error: can't copy 'alpha_vantage/async_support/sectorperformance.py': doesn't exist or not a regular file
*** Error code 1

Python-3.11 FreeBSD 14.1