alpacahq / alpaca-py

The Official Python SDK for Alpaca API
https://alpaca.markets/sdks/python/getting_started.html
Apache License 2.0
505 stars 125 forks source link

fix: Fix publish-pypi #395

Closed hiohiohio closed 6 months ago

hiohiohio commented 7 months ago

Context:

  pipx install poetry poetry-dynamic-versioning
  shell: /usr/bin/bash -e {0}
usage: pipx [-h] [--version]
            {install,uninject,inject,upgrade,upgrade-all,uninstall,uninstall-all,reinstall,reinstall-all,list,run,runpip,ensurepath,environment,completions}
            ...
pipx: error: unrecognized arguments: poetry-dynamic-versioning
Error: Process completed with exit code 2.

Changes:

AlexandrosKyriakakis commented 7 months ago

Wondering if the versioning will still be published here -> https://github.com/alpacahq/alpaca-py/blob/ba83efb4660c0aabb0ffa54732ef79fe04785747/alpaca/common/rest.py#L145

hiohiohio commented 7 months ago

Wondering if the versioning will still be published here

The __version__ is from here and the version number will be replaced by poetry-dynamic-versioning if all configuration is good. https://github.com/alpacahq/alpaca-py/blob/ba83efb4660c0aabb0ffa54732ef79fe04785747/alpaca/__init__.py#L2C8-L2C8