Open VikramsDataScience opened 1 week ago
Thanks @VikramsDataScience for doing this.
Do you mind adjusting https://github.com/openclimatefix/ocf-data-sampler/blob/main/.bumpversion.cfg this too?
Would you mind making a PR to the python-test.yml as your suggsted.
Thanks again
Will do, @peterdudfield! I'll get it done as soon as I get some time!
Hey @peterdudfield! I've made the changes to the bumpversion.cfg
, tested the file and attached a screenshot of the test, and pushed the new commit:
I've also created a new PR for the change to the python-test.yml
file under gh pr checkout 54
. Please let me know if any other changes/bugs need to addressed :).
Thank you, @peterdudfield! Please let me know if there are any issues, and I'll do my best to repair them 🙂!
In the meantime I'll poke through some of the other issues raised and attempt to further contribute!
sorry @VikramsDataScience do you mind resolving the conflicts?
Pull Request
Description (Attempt to migrate to pyproject to address
issue #11
)pyproject.toml
setup.py
andrequirements.txt
file since the pyproject file has taken over those responsibilities.python-test.yml
reusable workflow that is triggered by theworkflows.yaml
file would need to be modified to accommodate the newpyproject.toml
? I say this because once I perform this push, it'll trigger this workflow, and the workflow might fail without this modification? That is to say, the section:to be modified to also include the following?:
if [ -f pyproject.toml ]; then pip install -e .[docs]; fi
I'm not sure about this part, though, as I'm still becoming familiar with your codebase! So please advise!.readthedocs.yml
file to include the CLI command necessary to triggerpyproject.toml
.How Has This Been Tested?
To test my changes I created a virtual environment on my Windows machine
Run
pip install -e .[docs]
in theocf-data-sampler
folder to run the newpyproject.toml
fileThe full pyproject file took about 5 mins to run on my machine. It's a bit slow, so I'm not sure if that's a problem?
[x] Yes
My changes shouldn't affect data processing but ticking the below box.
Checklist: