Re: compreffor FTBFS with Python 3.11 as supported version

2022-11-16 Thread stefanor
Hi Nilesh (2022.11.16_14:22:09_+)
> This seems to stem from moving a header file in py3.11
> 
> $ apt-file search longintrepr.h
> [...]
> libpython3.10-dev: /usr/include/python3.10/longintrepr.h
> libpython3.11-dev: /usr/include/python3.11/cpython/longintrepr.h
> 
> Was this really intended?

Yes: https://docs.python.org/3/whatsnew/3.11.html

> The non-limited API files cellobject.h, classobject.h, code.h,
> context.h, funcobject.h, genobject.h and longintrepr.h have been moved
> to the Include/cpython directory. Moreover, the eval.h header file was
> removed. These files must not be included directly, as they are
> already included in Python.h: Include Files. If they have been
> included directly, consider including Python.h instead. (Contributed
> by Victor Stinner in bpo-35134.)

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272



Re: compreffor FTBFS with Python 3.11 as supported version

2022-11-16 Thread Nilesh Patra
Hi Python team/Stefano,

On Sun, 13 Nov 2022 20:34:36 +0200 Adrian Bunk  wrote:
> Source: compreffor
> Version: 0.5.1-2
> Severity: serious
> Tags: ftbfs
> 
> https://buildd.debian.org/status/logs.php?pkg=compreffor=0.5.1-2%2Bb2
> 
> ...
> src/cython/_compreffor.cpp:196:12: fatal error: longintrepr.h: No such file 
> or directory
>   196 |   #include "longintrepr.h"
>   |^~~

This seems to stem from moving a header file in py3.11

$ apt-file search longintrepr.h
[...]
libpython3.10-dev: /usr/include/python3.10/longintrepr.h
libpython3.11-dev: /usr/include/python3.11/cpython/longintrepr.h

Was this really intended?

-- 
Best,
Nilesh


signature.asc
Description: PGP signature


Bug#1024254: ITP: django-cache-memoize -- Django memoization function decorator

2022-11-16 Thread Edward Betts
Package: wnpp
Severity: wishlist
Owner: Edward Betts 
X-Debbugs-Cc: debian-de...@lists.debian.org, debian-python@lists.debian.org

* Package name: django-cache-memoize
  Version : 0.1.10
  Upstream Author : Peter Bengtsson 
* URL : https://github.com/peterbe/django-cache-memoize
* License : MPL-2
  Programming Lang: Python
  Description : Django memoization function decorator

  This memoization decorator uses the Django cache framework. It works with
  non-trivial arguments and keyword arguments.
  .
  There is support for memoized function calls to be invalidated.
  .
  Includes the ability to use as a "guard" for repeated execution when storing
  the function result isn't important or needed.
 
I plan to maintain this package as part of the Python team.

This is a dependancy of AlekSIS [1]

   1: https://edugit.org/AlekSIS/official/AlekSIS-Core