[med-svn] [Git][med-team/python-awkward][master] 6 commits: d/p/no-internet.patch: do not download from PyPI
Andreas Tille (@tille)
gitlab at salsa.debian.org
Thu Jun 6 15:05:44 BST 2024
Andreas Tille pushed to branch master at Debian Med / python-awkward
Commits:
ac611ab6 by Athos Ribeiro at 2024-06-06T10:23:49-03:00
d/p/no-internet.patch: do not download from PyPI
Closes: #1072109
- - - - -
80bd61b1 by Athos Ribeiro at 2024-06-06T10:27:42-03:00
d/rules: use system packages for nox runs
nox defaults to creating a python virtual environment to run its
sessions. This implies either configuring the virtual environment to use
system packages or downloading dependencies from PyPI. Let's skip using
virtual environments at all.
- - - - -
ab5768ca by Athos Ribeiro at 2024-06-06T10:31:22-03:00
d/control: add missing python3-yaml B-D
- - - - -
2eea89ac by Athos Ribeiro at 2024-06-06T10:32:48-03:00
d/control: B-D on python-is-python3
This ensures nox will find the correct python3 binary file for its
unconfined run during the package build.
Gbp-Dch: Full
- - - - -
77bd169a by Athos Ribeiro at 2024-06-06T10:53:48-03:00
Update changelog
- - - - -
89d0a307 by Andreas Tille at 2024-06-06T14:05:27+00:00
Merge branch 'ftbfs' into 'master'
Do not require internet access for package builds
See merge request med-team/python-awkward!1
- - - - -
5 changed files:
- debian/changelog
- debian/control
- + debian/patches/no-internet.patch
- + debian/patches/series
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,15 @@
+python-awkward (2.6.1-2) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * d/p/no-internet.patch: do not download from PyPI (Closes: #1072109)
+ * d/rules: use system packages for nox runs
+ * d/control:
+ - add missing python3-yaml B-D
+ - B-D on python-is-python3. This ensures nox will find the correct python3
+ binary file for its unconfined run during the package build.
+
+ -- Athos Ribeiro <athos.ribeiro at canonical.com> Thu, 06 Jun 2024 10:37:30 -0300
+
python-awkward (2.6.1-1) unstable; urgency=medium
[ Andreas Tille ]
=====================================
debian/control
=====================================
@@ -16,6 +16,8 @@ Build-Depends: dh-sequence-python3,
python3-pytest,
python3-scikit-build-core,
python3-pyproject-metadata,
+ python3-yaml,
+ python-is-python3,
cmake,
libpython3-all-dev,
pybind11-dev,
=====================================
debian/patches/no-internet.patch
=====================================
@@ -0,0 +1,21 @@
+Description: Do not try to download packages from PyPI
+ The nox prepare target assumes that a virtual environment will be used.
+ Therefore, it tries to install all build dependencies from pyPI before
+ processing its build steps. This is not desired in our build environment.
+Author: Athos Ribeiro <athos.ribeiro at canonical.com>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072109
+Forwarded: not-needed
+Last-Update: 2024-06-06
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/noxfile.py
++++ b/noxfile.py
+@@ -151,8 +151,6 @@
+ parser.add_argument("--docs", action="store_true")
+ args = parser.parse_args(session.posargs)
+
+- session.install(*requirements_dev)
+-
+ prepare_all = not session.posargs
+
+ if args.headers or prepare_all:
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+no-internet.patch
=====================================
debian/rules
=====================================
@@ -4,6 +4,7 @@ export PYBUILD_DESTDIR = debian/tmp_i_mean_it
export PYBUILD_TEST_ARGS=-v
export PY_IGNORE_IMPORTMISMATCH=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export NOX_DEFAULT_VENV_BACKEND=none
%:
dh $@ --buildsystem=pybuild
@@ -15,7 +16,7 @@ override_dh_auto_install: override_%:
PYBUILD_NAME=awkward $* --buildsystem=pybuild --sourcedirectory=.
override_dh_auto_build:
- nox -s prepare
+ nox -s prepare --no-venv
PYBUILD_NAME=awkward_cpp dh_auto_build --sourcedirectory=awkward-cpp --buildsystem=pybuild
PYBUILD_NAME=awkward dh_auto_build --sourcedirectory=. --buildsystem=pybuild
View it on GitLab: https://salsa.debian.org/med-team/python-awkward/-/compare/b81bbd73b08d6bb984db011bb93d46cc34c5ab27...89d0a3078fb71bbc9c860eb4fdbdce7c64f75e20
--
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/med-team/python-awkward/-/compare/b81bbd73b08d6bb984db011bb93d46cc34c5ab27...89d0a3078fb71bbc9c860eb4fdbdce7c64f75e20
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240606/6cf7a815/attachment-0001.htm>
More information about the debian-med-commit
mailing list