Package Details: python-typed-argument-parser 1.9.0-1

Git Clone URL: https://aur.archlinux.org/python-typed-argument-parser.git (read-only, click to copy)
Package Base: python-typed-argument-parser
Description: Typed modernization of Python's argparse library
Upstream URL: https://github.com/swansonk14/typed-argument-parser
Keywords: argparse python
Licenses: MIT
Submitter: Repentinus
Maintainer: Repentinus
Last Packager: Repentinus
Votes: 2
Popularity: 0.000000
First Submitted: 2021-05-16 10:35 (UTC)
Last Updated: 2023-11-20 17:54 (UTC)

Latest Comments

iago-lito commented on 2025-01-22 08:49 (UTC)

Fails to build again, not sure why or how to fix it :(

==> Starting check()...
/usr/lib/python3.13/site-packages/setuptools/dist.py:491: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

        ********************************************************************************
        Usage of dash-separated 'description-file' will not be supported in future
        versions. Please use the underscore name 'description_file' instead.

        By 2025-Mar-03, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.

        See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
        ********************************************************************************

!!
  opt = self.warn_dash_deprecation(opt, section)
/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3.13/site-packages/ptr/__init__.py:81: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated.
!!

        ********************************************************************************
        Please remove any references to `setuptools.command.test` in all supported versions of the affected package.

        This deprecation is overdue, please update your project and remove deprecated
        calls to avoid build errors in the future.
        ********************************************************************************

!!
  class PyTest(orig.test):
running pytest
Traceback (most recent call last):
  File "/var/iago-lito/.cache/paru/clone/python-typed-argument-parser/src/typed-argument-parser-v_1.9.0/setup.py", line 15, in <module>
    setup(
    ~~~~~^
        name="typed-argument-parser",
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<25 lines>...
        keywords=["typing", "argument parser", "python"],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/setuptools/__init__.py", line 117, in setup
    return distutils.core.setup(**attrs)
           ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/setuptools/_distutils/core.py", line 183, in setup
    return run_commands(dist)
  File "/usr/lib/python3.13/site-packages/setuptools/_distutils/core.py", line 199, in run_commands
    dist.run_commands()
    ~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
    self.run_command(cmd)
    ~~~~~~~~~~~~~~~~^^^^^
  File "/usr/lib/python3.13/site-packages/setuptools/dist.py", line 991, in run_command
    super().run_command(command)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
    cmd_obj.run()
    ~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/ptr/__init__.py", line 195, in run
    setattr(dist, attr, getattr(self.distribution, attr))
                        ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Distribution' object has no attribute 'tests_require'. Did you mean: 'extras_require'?
==> ERROR: A failure occurred in check().
    Aborting...
error: failed to build 'python-typed-argument-parser-1.9.0-1':
error: packages failed to build: python-typed-argument-parser-1.9.0-1

iago-lito commented on 2024-03-25 12:25 (UTC)

Failed to build because of missing module poetry.. Succedded after pacman -S python-poetry. Maybe this should be added to the dependencies list?

raven2cz commented on 2023-05-03 19:19 (UTC)

Not possible to compile with new python 3.11. Two tests failed. Your lib is important for alacritty-colorscheme .