Skip to content

python 3.12 import fails #14

Description

@pichwo

=============================================================
(python environment governed via pyenv : here : use globally installed 3.12

$ pip show fluentpy
Name: fluentpy
Version: 2.1.1
Summary: Python wrapper for stdlib (and your) objects to give them a fluent interface.
Home-page: https://github.com/dwt/fluent
Author: Martin Häcker
Author-email: mhaecker@mac.com
License: ISC
Location: /usr/local/lib/python3.12/site-packages
Requires:
Required-by:

$ python
Python 3.12.3 (main, Apr 17 2024, 00:00:00) [GCC 13.2.1 20240316 (Red Hat 13.2.1-7)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import fluentpy as _
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.12/site-packages/fluentpy/init.py", line 36, in
import fluentpy.wrapper
File "/usr/local/lib/python3.12/site-packages/fluentpy/wrapper.py", line 112, in
class Wrapper(object):
File "/usr/local/lib/python3.12/site-packages/fluentpy/wrapper.py", line 303, in Wrapper
type = wrapped(type)
^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/fluentpy/wrapper.py", line 71, in wrapped
@functools.wraps(wrapped_function)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/functools.py", line 56, in update_wrapper
setattr(wrapper, attr, value)
TypeError: type_params must be set to a tuple

=============================================================
(python environment governed via pyenv : here : use locally installed 3.11)

$ pip show fluentpy
Name: fluentpy
Version: 2.1.1
Summary: Python wrapper for stdlib (and your) objects to give them a fluent interface.
Home-page: https://github.com/dwt/fluent
Author: Martin Häcker
Author-email: mhaecker@mac.com
License: ISC
Location: /home/rotten/.pyenv/versions/3.11.3/lib/python3.11/site-packages
Requires:
Required-by:

$ python
Python 3.11.3 (main, Apr 30 2024, 19:38:50) [GCC 13.2.1 20240316 (Red Hat 13.2.1-7)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import fluentpy as _

=============================================================
what to do ?
in need of any further information ?

thx
w.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions