Path: csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: PICCA Frederic-Emmanuel Newsgroups: linux.debian.maint.python Subject: dpkg-buildpackage vs sbuild with python packaging Date: Wed, 11 Jun 2025 16:00:01 +0200 Message-ID: X-Original-To: debian-python X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Jun 11 13:57:11 2025 Old-Return-Path: X-Amavis-Spam-Status: No, score=-2.796 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -5.5 Dkim-Filter: OpenDKIM Filter v2.10.3 zmtaout05.partage.renater.fr 2BE30A00F3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 8.8.15_GA_4652 (ZimbraWebClient - FF128 (Linux)/8.8.15_GA_4652) Thread-Index: 4zztTVTPdxVIXt9ThUAowcVXvI7zJw== Thread-Topic: dpkg-buildpackage vs sbuild with python packaging X-Virus-Status: Clean X-Renater-Ptge-Spamstate: clean X-Renater-Ptge-Spamcause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddugdduvdeffecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucftgffptefvgfftnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffkufggtgfgofhtsehtjegttdiitdejnecuhfhrohhmpefrkfevveetucfhrhgvuggvrhhitgdqgfhmmhgrnhhuvghluceofhhrvgguvghrihgtqdgvmhhmrghnuhgvlhdrphhitggtrgesshihnhgthhhrohhtrhhonhdqshholhgvihhlrdhfrheqnecuggftrfgrthhtvghrnhepleffudfhueejheehgfefueevleevfeetgeefkeejfeeileejvddtveeifefgffeunecuffhomhgrihhnpehlihgtvghnshgvrdihohhupdhphihthhhonhdrohhrghenucfkphepuddtrddvheegrddvgedtrddugeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddtrddvheegrddvgedtrddugeehpdhhvghlohepiihsthhorhgvqdgsfedqtdduvddrphgrrhhtrghgvgdrrhgvnhgrthgvrhdrfhhrpdhmrghilhhfrhhomhepfhhrvgguvghrihgtqdgvmhhmrghnuhgvlhdrphhitggtrgesshihnhgthhhrohhtrhhonhdqshholhgvihhlrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeguvggsihgrnhdqphihthhhohhnsehlihhsthhsrdguvggsihgrnhdrohhrgh X-Mailing-List: archive/latest/23027 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/1779402678.132016719.1749649153102.JavaMail.zimbra@synchrotron-soleil.fr Approved: robomod@news.nic.it Lines: 180 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 11 Jun 2025 15:39:13 +0200 (CEST) X-Original-Message-ID: <1779402678.132016719.1749649153102.JavaMail.zimbra@synchrotron-soleil.fr> Xref: csiph.com linux.debian.maint.python:16895 Hello I am working on this package salsa:science-team/xrdutils This is a pure python package, which use setuptools. Now if I build the package within sbuild I get this file list. (I will just take the grafit package) dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/xrdutils-0.0.3/.pybuild/cpython3_3.13_xrdutils * Building wheel... /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) creating build/lib/grafit copying src/grafit/widgets.py -> build/lib/grafit copying src/grafit/tools.py -> build/lib/grafit copying src/grafit/plotitems.py -> build/lib/grafit copying src/grafit/plot.py -> build/lib/grafit copying src/grafit/parameters.py -> build/lib/grafit copying src/grafit/models.py -> build/lib/grafit copying src/grafit/masking.py -> build/lib/grafit copying src/grafit/io.py -> build/lib/grafit copying src/grafit/grafit_gui.py -> build/lib/grafit copying src/grafit/fit2D.py -> build/lib/grafit copying src/grafit/fit1D.py -> build/lib/grafit copying src/grafit/events.py -> build/lib/grafit copying src/grafit/datatypes.py -> build/lib/grafit copying src/grafit/calculation.py -> build/lib/grafit copying src/grafit/builder.py -> build/lib/grafit copying src/grafit/__init__.py -> build/lib/grafit adding 'grafit/__init__.py' adding 'grafit/builder.py' adding 'grafit/calculation.py' adding 'grafit/datatypes.py' adding 'grafit/events.py' adding 'grafit/fit1D.py' adding 'grafit/fit2D.py' adding 'grafit/grafit_gui.py' adding 'grafit/io.py' adding 'grafit/masking.py' adding 'grafit/models.py' adding 'grafit/parameters.py' adding 'grafit/plot.py' adding 'grafit/plotitems.py' adding 'grafit/tools.py' adding 'grafit/widgets.py' And with a simple dpkg-buildpackage on unstable distribution. I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /home/experiences/instrumentation/picca/debian/science-team/xrdutils/.pybuild/cpython3_3.13_xrdutils * Building wheel... /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) creating build/lib/grafit copying src/grafit/__init__.py -> build/lib/grafit copying src/grafit/plotitems.py -> build/lib/grafit copying src/grafit/builder.py -> build/lib/grafit copying src/grafit/masking.py -> build/lib/grafit copying src/grafit/plot.py -> build/lib/grafit copying src/grafit/models.py -> build/lib/grafit copying src/grafit/fit2D.py -> build/lib/grafit copying src/grafit/fit1D.py -> build/lib/grafit copying src/grafit/events.py -> build/lib/grafit copying src/grafit/datatypes.py -> build/lib/grafit copying src/grafit/calculation.py -> build/lib/grafit copying src/grafit/tools.py -> build/lib/grafit copying src/grafit/parameters.py -> build/lib/grafit copying src/grafit/io.py -> build/lib/grafit copying src/grafit/grafit_gui.py -> build/lib/grafit copying src/grafit/widgets.py -> build/lib/grafit creating build/lib/grafit/images copying src/grafit/images/Eraser.png -> build/lib/grafit/images copying src/grafit/images/Run.png -> build/lib/grafit/images copying src/grafit/images/circle_sponge.png -> build/lib/grafit/images copying src/grafit/images/cubic.png -> build/lib/grafit/images copying src/grafit/images/door.png -> build/lib/grafit/images copying src/grafit/images/exp.png -> build/lib/grafit/images copying src/grafit/images/export_fit.png -> build/lib/grafit/images copying src/grafit/images/gauss.png -> build/lib/grafit/images copying src/grafit/images/gauss2D.jpg -> build/lib/grafit/images copying src/grafit/images/linear.png -> build/lib/grafit/images copying src/grafit/images/lorentz.png -> build/lib/grafit/images copying src/grafit/images/mask_circle_grey.png -> build/lib/grafit/images copying src/grafit/images/mask_polygon_grey.png -> build/lib/grafit/images copying src/grafit/images/mask_rectangle_grey.png -> build/lib/grafit/images copying src/grafit/images/planar.jpg -> build/lib/grafit/images copying src/grafit/images/power.png -> build/lib/grafit/images copying src/grafit/images/quadratic.png -> build/lib/grafit/images copying src/grafit/images/sigma.jpg -> build/lib/grafit/images copying src/grafit/images/sinus.png -> build/lib/grafit/images copying src/grafit/images/square_sponge.png -> build/lib/grafit/images copying src/grafit/images/step.png -> build/lib/grafit/images copying src/grafit/images/voigt.png -> build/lib/grafit/images copying src/grafit/images/weight.png -> build/lib/grafit/images copying src/grafit/images/y_full_range.png -> build/lib/grafit/images adding 'grafit/__init__.py' adding 'grafit/builder.py' adding 'grafit/calculation.py' adding 'grafit/datatypes.py' adding 'grafit/events.py' adding 'grafit/fit1D.py' adding 'grafit/fit2D.py' adding 'grafit/grafit_gui.py' adding 'grafit/io.py' adding 'grafit/masking.py' adding 'grafit/models.py' adding 'grafit/parameters.py' adding 'grafit/plot.py' adding 'grafit/plotitems.py' adding 'grafit/tools.py' adding 'grafit/widgets.py' adding 'grafit/images/Eraser.png' adding 'grafit/images/Run.png' adding 'grafit/images/circle_sponge.png' adding 'grafit/images/cubic.png' adding 'grafit/images/door.png' adding 'grafit/images/exp.png' adding 'grafit/images/export_fit.png' adding 'grafit/images/gauss.png' adding 'grafit/images/gauss2D.jpg' adding 'grafit/images/linear.png' adding 'grafit/images/lorentz.png' adding 'grafit/images/mask_circle_grey.png' adding 'grafit/images/mask_polygon_grey.png' adding 'grafit/images/mask_rectangle_grey.png' adding 'grafit/images/planar.jpg' adding 'grafit/images/power.png' adding 'grafit/images/quadratic.png' adding 'grafit/images/sigma.jpg' adding 'grafit/images/sinus.png' adding 'grafit/images/square_sponge.png' adding 'grafit/images/step.png' adding 'grafit/images/voigt.png' adding 'grafit/images/weight.png' adding 'grafit/images/y_full_range.png' the data files are installed with dpkg-buildpackage but not within sbuild. So my question is : is it normal. thanks for your help. Frederic