Package Details: python-pytypes 1.0b10-1

Git Clone URL: https://aur.archlinux.org/python-pytypes.git (read-only, click to copy)
Package Base: python-pytypes
Description: typing toolbox w.r.t. PEP 484
Upstream URL: https://github.com/Stewori/pytypes
Licenses: Apache
Submitter: pirofti
Maintainer: pirofti
Last Packager: pirofti
Votes: 1
Popularity: 0.000174
First Submitted: 2021-03-17 07:46 (UTC)
Last Updated: 2022-09-18 19:47 (UTC)

Latest Comments

micwoj92 commented on 2025-04-17 20:35 (UTC)

I don't think it is useful to keep. It can be always installed in venv with python3.8 or something like that.

If these packages were to use python3.8, then all of these python-* dependencies should be reuploaded as python3.8-* and it will be just lot of work.

pirofti commented on 2025-04-17 00:19 (UTC)

Yeah. I think the whole chain up until python-tods should be removed as TODS is the reason I imported this set of packages. What do you think? Should we link them to python3.8 or just remove them?

micwoj92 commented on 2025-03-24 23:04 (UTC)

I think that since this is an issue for 3 years and the upstream seems inactive it doesn't makes sense to keep this package.

pirofti commented on 2025-03-24 09:04 (UTC)

It is because imp is deprecated and importlib should be used instead. Upstream does not want to fix this: https://github.com/Stewori/pytypes/issues/116.

I guess these ports will be removed pretty soon.

micwoj92 commented on 2025-03-05 18:54 (UTC)

Doesn't work:

Traceback (most recent call last):
  File "/usr/bin/typestubs", line 33, in <module>
    sys.exit(load_entry_point('pytypes==1.0b10', 'console_scripts', 'typestubs')())
             ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/typestubs", line 25, in importlib_load_entry_point
    return next(matches).load()
           ~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 179, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.13/site-packages/pytypes/__init__.py", line 314, in <module>
    from .typechecker import _install_import_hook
  File "/usr/lib/python3.13/site-packages/pytypes/typechecker.py", line 33, in <module>
    from .stubfile_manager import _match_stub_type, _re_match_module
  File "/usr/lib/python3.13/site-packages/pytypes/stubfile_manager.py", line 18, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'