Closed astrojuanlu closed 2 months ago
package/kedro_viz/data_access/repositories/graph.py:46:8: R1737: Use 'yield from' directly instead of yielding each element one by one (use-yield-from)
linting failures unrelated
The README.md
hack didn't get me very far though, now the e2e tests are failing. Exhausted a couple of avenues with Hatch and gave up for the day, asked a upstream https://github.com/pypa/hatch/discussions/1286
This is amazing!!!! -- thanks @astrojuanlu ! liking the nerd-snipe you.
Amazing PR! This is a HUGE improvement.
Just two things I'm curious about:
pip install git+...
on kedro-viz work?setup.py
had a open("../README.md")
, that's not possible with static pyproject.toml
(neither with setuptools nor with hatchling). I asked upstream https://github.com/pypa/hatch/discussions/1286 so far no responseThanks @ravi-kumar-pilla ! I’ll double check the final state after you solved the conflicts
This looks good to me 👍🏼 Beware of the moving README.md as it will conflict with #1745 @jitu5 fyi
Description
Make sdists self-contained, hence fix #1267
Development notes
Commits:
setup.py
, which have been deprecated for about 2 years https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.htmlpyproject.toml
using @MehdiNV work in #1584 as baseline with some updates, hence fix #1527setuptools
tohatchling
https://hatch.pypa.io/, same backend vizro uses (cc @antonymilne), as a preparation to eventually address #1611 and also fix #1267README.md
topackage/
and create root symlink to retain GitHub previewQA notes
make package
inmain
and with this PR, save the resulting sdist and wheel indist.old
anddist
respectively.tar.gz
, and compare thePKG-INFO
files of both sdists - there should be only lines out of order and other non consequential changes directories withmain
and with this PR.tree
structure of both sdists - only metadata files should have changed.*.dist-info
directories - there should be only lines out of order but the number of files inRECORD
should be basically the same.pip install ./dist.old/...tar.gz
doesn't work (hence #1267) andpip install ./dist/...tar.gz
fixes the issuekedro viz run
on a test project after installing the new sdist, verify that everything works as expected (the HTML files are included)Checklist
RELEASE.md
file