Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Installing on Arch Linux #107

Closed
Bot-wxt1221 opened this issue Aug 8, 2023 · 3 comments
Closed

Error Installing on Arch Linux #107

Bot-wxt1221 opened this issue Aug 8, 2023 · 3 comments

Comments

@Bot-wxt1221
Copy link

/usr/lib/python3.11/site-packages/setuptools/dist.py:745: 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 2023-Sep-26, 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)
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
/usr/lib/python3.11/site-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

!!
ir_d = dist.fetch_build_eggs(dist.install_requires)
/usr/lib/python3.11/site-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

!!
tr_d = dist.fetch_build_eggs(dist.tests_require or [])
/usr/lib/python3.11/site-packages/setuptools/command/test.py:196: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

!!
er_d = dist.fetch_build_eggs(
running egg_info
writing cyaron.egg-info/PKG-INFO
writing dependency_links to cyaron.egg-info/dependency_links.txt
writing requirements to cyaron.egg-info/requires.txt
writing top-level names to cyaron.egg-info/top_level.txt
reading manifest file 'cyaron.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'cyaron.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
File "/home/wxt/.cache/yay/python-cyaron/src/python-cyaron/setup.py", line 4, in
setup(
File "/usr/lib/python3.11/site-packages/setuptools/init.py", line 107, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/usr/lib/python3.11/site-packages/setuptools/command/test.py", line 224, in run
self.run_tests()
File "/usr/lib/python3.11/site-packages/setuptools/command/test.py", line 227, in run_tests
test = unittest.main(
^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/main.py", line 101, in init
self.parseArgs(argv)
File "/usr/lib/python3.11/unittest/main.py", line 127, in parseArgs
self._do_discovery(argv[2:])
File "/usr/lib/python3.11/unittest/main.py", line 247, in _do_discovery
self.createTests(from_discovery=True, Loader=Loader)
File "/usr/lib/python3.11/unittest/main.py", line 157, in createTests
self.test = loader.discover(self.start, self.pattern, self.top)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 322, in discover
tests = list(self._find_tests(start_dir, pattern))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 377, in _find_tests
tests, should_recurse = self._find_test_path(full_path, pattern)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 453, in _find_test_path
tests = self.loadTestsFromModule(package, pattern=pattern)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/setuptools/command/test.py", line 57, in loadTestsFromModule
tests.append(self.loadTestsFromName(submodule))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 191, in loadTestsFromName
return self.loadTestsFromModule(obj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/setuptools/command/test.py", line 57, in loadTestsFromModule
tests.append(self.loadTestsFromName(submodule))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 205, in loadTestsFromName
test = obj()
^^^^^
TypeError: fulltext() missing 2 required positional arguments: 'content' and 'std'

系统:Arch Linux on x86-64
Python:3.11.3

@Bot-wxt1221

This comment has been minimized.

@Bot-wxt1221

This comment has been minimized.

@Mr-Python-in-China
Copy link
Collaborator

就不能发点可读性强点的报错吗。。。

@Mr-Python-in-China Mr-Python-in-China closed this as not planned Won't fix, can't repro, duplicate, stale Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants