Re: pdm: Please replace python3-pep517 with python3-pyproject-hooks in Depends/Build-Depends

2023-08-14 Thread Scott Kitterman



On August 14, 2023 12:28:30 PM UTC, Andreas Tille  wrote:
>Control: tags -1 pending
>
>Hi,
>
>I've fixed the issue reported in this bug[1].
>
>In addition I've took the chance to upload pdm to its latest upstream
>version.  When doing so I realised that build time tests are basically
>ignored.  This was mainly due to the removal of artefacts that are used
>for testing.  I admit I do not see any reason to remove those data
>files - in Debian R team this kind of data files which is just used for
>testing is accepted.  Thus I took the freedom to re-introduce these
>files and was running the tests in d/rules.  Unfortunately there is
>quite a number of tests failing
>
>   54 failed, 620 passed, 1 xfailed, 3 rerun in 228.94s (0:03:48) 
> 
>
>(see Salsa CI[2])
>
>I'd like to stress that to run those tests at all I needed a patch[3]
>since BaseProvider can't be simply imported from findpython.
>
>Before I upload I'd like to ask for reviewing this patch and opinions
>about the test suite errors.  While these possibly occure in previous
>versions (which I did not tested) we might consider ignoring just the
>failing tests.  I need to admit that I did not went through the list of
>single failures - may be there is a chance of easy fixes for some of
>them.  I simply wanted to discuss the reintroduction of the artifacts
>and my patch first.
>
With the exception of future_fstrings those are all binary without source.  
That's a problem.  It's probably okay if you add the corresponding source 
somewhere in the package.

I do think it's odd that pdm would need poetry-core in its test suit.

Scott K



Bug#1049347: ITP: liboprf - Oblivious Pseudo-Random Generator and Threshold OPRF library

2023-08-14 Thread Joost van Baal-Ilić
Package: wnpp
Severity: wishlist
Owner: Joost van Baal-Ilić 

* Package name: liboprf
  Version : 0.1
  Upstream Author : Stefan Marsiske
* URL : https://github.com/stef/liboprf
* License : GPLv3, LGPLv3
  Programming Lang: C
  Description : Oblivious Pseudo-Random Functions and Threshold OPRF library

 This library implements the basic OPRF (ristretto255, SHA-512) variant from the
 "Oblivious Pseudorandom Functions using Prime-Order Groups" Draft from the IRTF
 Crypto Forum Research Group (https://github.com/cfrg/draft-irtf-cfrg-voprf/).
 Additionally it implements a threshold OPRF based on "TOPPSS: Cost-minimal
 Password-Protected Secret Sharing based on Threshold OPRF" by Krawczyk et al
 (https://ia.cr/2017/363).
 .
 This library depends on libsodium.

The (yet to be packaged) Klutshnik software (https://klutshnik.info/) will
depend upon liboprf.  I will be working on this package at (yet to be created)
https://salsa.debian.org/debian/liboprf .

Bye,

Joost



signature.asc
Description: PGP signature


Re: pdm: Please replace python3-pep517 with python3-pyproject-hooks in Depends/Build-Depends

2023-08-14 Thread Andreas Tille
Control: tags -1 pending

Hi,

I've fixed the issue reported in this bug[1].

In addition I've took the chance to upload pdm to its latest upstream
version.  When doing so I realised that build time tests are basically
ignored.  This was mainly due to the removal of artefacts that are used
for testing.  I admit I do not see any reason to remove those data
files - in Debian R team this kind of data files which is just used for
testing is accepted.  Thus I took the freedom to re-introduce these
files and was running the tests in d/rules.  Unfortunately there is
quite a number of tests failing

   54 failed, 620 passed, 1 xfailed, 3 rerun in 228.94s (0:03:48) 


(see Salsa CI[2])

I'd like to stress that to run those tests at all I needed a patch[3]
since BaseProvider can't be simply imported from findpython.

Before I upload I'd like to ask for reviewing this patch and opinions
about the test suite errors.  While these possibly occure in previous
versions (which I did not tested) we might consider ignoring just the
failing tests.  I need to admit that I did not went through the list of
single failures - may be there is a chance of easy fixes for some of
them.  I simply wanted to discuss the reintroduction of the artifacts
and my patch first.

Kind regards
Andreas.


[1] 
https://salsa.debian.org/python-team/packages/pdm/-/commit/2691b62c20944e0d9ca2326cb99e196d954b2735
[2] https://salsa.debian.org/python-team/packages/pdm/-/jobs/4555215
[3} 
https://salsa.debian.org/python-team/packages/pdm/-/blob/master/debian/patches/0002_fix_import.patch

-- 
http://fam-tille.de