Date: Sun, 27 Nov 2022 23:22:40 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 268018] textproc/py-sphinx: Updating to 5.3.0, ensuring themes are installed, using flit and pyproject-build Message-ID: <bug-268018-21822-0DM8xhUjzz@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-268018-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-268018-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268018 --- Comment #3 from Sean Champ <lab+bsd@thinkum.space> --- Ah, there's a Wiki page https://wiki.freebsd.org/Python/PEP-517 I'm quite new to the Python programming language lol. I don't believe every project uses flit in itself, from pyproject.toml? Some projects might prefer hatchling e.g, or using the conventional setuptools.=20 For an more recent devel/py-jupyterlab (3.5.0) released more recently than what's in ports right now, there's also the following for instance: ~~~~ [build-system] requires=3D["jupyter_packaging>=3D0.9,<2"] build-backend =3D "jupyter_packaging.build_api" ~~~~ I believe I'd hoped it might be a sufficient hack, to just call setuptools instead. If there's a broader project for addressing PEP-517 though, I think that's good to see. Of course with textproc/py-sphinx if I was only using setuptools and only installing everything it compiled, then that may not be sufficient to ensure that the sphinx themes would be installed with the py-sphinx port - thus to= the effect of present patch, to ensure that at least the basic sphinx theme is installed and available for direct application with sphinx or for reference= and extension in other sphinx themes. Returning to the PEP-517 topic, after the recent devel/py-jupyterlab releas= e, then after one local test build it seemed that building with jlpm in partic= ular may result in drawing in a lot of NPM packages, with quite a large download= in the build process. I believe that's what the distributors may be using in order to produce what we're seeing in the downloads from cheeseshop? Thus, perhaps what we've download from the cheeeshop master site may already have been partially processed - contrasted to building directly from GitHub sources, for instan= ce With sphinx at least, I'd thought it might be a good precaution to filter it again with pyproject-build nonetheless, if not simply installing all the sources files from the distfile archive. My main goal with the patch was simply to ensure that the basic theme is installed, along with the rest of the sphinx components that show up after = the filtering with the upstream project's preferred build tool. I think it's gr= eat if the more general concern about PEP-517 support is being addressed though --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268018-21822-0DM8xhUjzz>