Source: flask-autoindex
Version: 0.6.6-3
Severity: important
Forwarded: https://github.com/general03/flask-autoindex/issues/71

Dear Maintainer,

by using python3-future, your project is not compatible with Python3.12.

This issue is already tracked upstream at:

https://github.com/general03/flask-autoindex/issues/71

There's not too much to patch out:

$ grep future -r

Lines to simply remove altogether:

  tests/__init__.py:from __future__ import absolute_import   (not related to 
python3-future)
  tests/__init__.py:from future.builtins import bytes
  flask_autoindex/icons.py:from __future__ import absolute_import  (not related 
to python3-future)
  flask_autoindex/entry.py:from future import standard_library
  flask_autoindex/entry.py:standard_library.install_hooks()
  flask_autoindex/__init__.py:from __future__ import absolute_import  (not 
related to python3-future)
  flask_autoindex/__init__.py:from future.builtins import object, str
  debian/control: python3-future <!nocheck>,
  Flask_AutoIndex.egg-info/requires.txt:future>=0.13.0

Tiny patching needed:

  setup.py:    install_requires=['Flask>=1.1', 'Flask-Silk>=0.2', 
'future>=0.13.0'],
  flask_autoindex/entry.py:from future.utils import with_metaclass
  flask_autoindex/entry.py:from future.moves.urllib.parse import urljoin


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (501, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-5-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to