Skip to content

Migrate to pyproject.toml#2849

Open
etbala wants to merge 1 commit into
ranaroussi:devfrom
etbala:dependency-management
Open

Migrate to pyproject.toml#2849
etbala wants to merge 1 commit into
ranaroussi:devfrom
etbala:dependency-management

Conversation

@etbala

@etbala etbala commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Replaced requirements.txt, setup.py, etc. with the modern replacement pyproject.toml.

I didn't want to force adopting a specific tool, so for now you can just install dependencies using pip install -e ".[dev]", or pip install -e . if you don't care about the development dependencies. However, I did change the workflow files to take advantage of uv instead of raw pip + python to speed them up.

I tested all the workflows in my fork, and everything worked as expected. Evidence:
https://github.com/etbala/yfinance/actions/runs/27188465084
https://github.com/etbala/yfinance/actions/runs/27188528139
https://github.com/etbala/yfinance/actions/runs/27187492438 # Failed because tests do not pass
https://github.com/etbala/yfinance/actions/runs/27188362416 # Failed because twine secrets not configured in my fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant