[med-svn] [Git][med-team/conda-package-streaming][master] 5 commits: Add patch to get things going on 32 bit

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Sat Dec 31 15:11:49 GMT 2022



Nilesh Patra pushed to branch master at Debian Med / conda-package-streaming


Commits:
b713db89 by Nilesh Patra at 2022-12-31T20:22:34+05:30
Add patch to get things going on 32 bit

- - - - -
0ea40f62 by Nilesh Patra at 2022-12-31T20:24:23+05:30
B-D on python3-all instead of -dev

- - - - -
b99bdb75 by Nilesh Patra at 2022-12-31T20:24:40+05:30
Change arch to all

- - - - -
69439fb6 by Nilesh Patra at 2022-12-31T20:36:10+05:30
Add autopkgtests

- - - - -
df1ecdb6 by Nilesh Patra at 2022-12-31T20:36:28+05:30
Upload to unstable

- - - - -


6 changed files:

- debian/changelog
- debian/control
- + debian/patches/32-bits.patch
- debian/patches/series
- + debian/tests/control
- + debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+conda-package-streaming (0.7.0-3) unstable; urgency=medium
+
+  * Team Upload.
+  * Add patch to get things going on 32 bit
+  * B-D on python3-all instead of -dev
+  * Change arch to all
+  * Add autopkgtests
+
+ -- Nilesh Patra <nilesh at debian.org>  Sat, 31 Dec 2022 20:24:44 +0530
+
 conda-package-streaming (0.7.0-2) unstable; urgency=medium
 
   * Packaging update


=====================================
debian/control
=====================================
@@ -8,7 +8,7 @@ Build-Depends: debhelper-compat (= 13),
                dh-python,
                pybuild-plugin-pyproject,
                python3-flit-scm,
-               python3-dev,
+               python3-all,
                python3-setuptools,
                python3-pytest <!nocheck>,
                python3-pytest-cov <!nocheck>,
@@ -24,7 +24,7 @@ Homepage: https://github.com/conda/conda-package-streaming
 Rules-Requires-Root: no
 
 Package: python3-conda-package-streaming
-Architecture: any
+Architecture: all
 Depends: ${python3:Depends},
          ${misc:Depends}
 Description: fetch conda metadata


=====================================
debian/patches/32-bits.patch
=====================================
@@ -0,0 +1,14 @@
+Description: Set ZSTD_COMPRESS_LEVEL to 21 instead, as it consumes a lot of mem on 32 bit machines
+Author: Nilesh Patra <nilesh at debian.org>
+Last-Update: 2022-12-31
+--- a/conda_package_streaming/transmute.py
++++ b/conda_package_streaming/transmute.py
+@@ -26,7 +26,7 @@
+ from .package_streaming import CondaComponent, stream_conda_component
+ 
+ # increase to reduce speed and increase compression (22 = conda's default)
+-ZSTD_COMPRESS_LEVEL = 22
++ZSTD_COMPRESS_LEVEL = 21
+ # increase to reduce compression and increase speed
+ ZSTD_COMPRESS_THREADS = 1
+ 


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 ignore_tests_requiring_conda_exe.patch
+32-bits.patch


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, python3-all, python3-pytest, python3-bottle, python3-boto3
+Restrictions: allow-stderr


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,17 @@
+#!/bin/bash
+set -e
+
+pkg="conda-package-streaming"
+CUR_DIR=`pwd`
+
+if [ "$AUTOPKGTEST_TMP" = "" ] ; then
+  AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+  trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cd $AUTOPKGTEST_TMP
+cp -a ${CUR_DIR}/tests .
+
+for py in `py3versions -s`; do
+	$py -m pytest -v;
+done



View it on GitLab: https://salsa.debian.org/med-team/conda-package-streaming/-/compare/d9c049b52834fe036a4fee633557b530476ae018...df1ecdb60ab8151670bf30e6380b625a08ab4839

-- 
View it on GitLab: https://salsa.debian.org/med-team/conda-package-streaming/-/compare/d9c049b52834fe036a4fee633557b530476ae018...df1ecdb60ab8151670bf30e6380b625a08ab4839
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/20221231/c9312e06/attachment-0001.htm>


More information about the debian-med-commit mailing list