Moving to pyproject.toml using uv #issue 27
Summary :memo:
This pull request integrates the project from using setup.py and requirements.txt to pyproject.toml setup. It streamlines dependency management and adheres to contemporary Python packaging practices.
Details
Describe more what you did on changes.
- Migrated from
setup.pytopyproject.toml, including metadata and dependencies; - Removed the
setup.pyfile; - Integrated dependencies from
requirements.txtandrequirements-test.txtinto thepyprojects.tomlfile; - Also removed the
requirements.txtandrequirements-test.txtfiles;
Checks
- [ ] Closed #27
ValueError: invalid pyproject.toml config: `project`.
configuration error: `project` must not contain {'homepage'} properties
[end of output]
The homepage key is now invalid, it must be project.urls
I think it will be good to move to the UV compatible pyproject.
an example here https://github.com/rochacbruno/dundie-rewards/pull/43
Bruno, I’m not sure if I did it correctly. If not, I'll ask you sometime to show me what’s wrong. Maybe we could review it in a call or when you’re here, if you have the time, of course. Unfortunately, I missed the last class, so I'm little bit lost in uv.
anything new here? Can I help with something?
Hello! I’m not sure whether this pull request will be merged, but if it is, you might want to update the Containerfile to adhere to UV’s recommended usage: https://docs.astral.sh/uv/guides/integration/docker/