Package Details: python-ratelimiter 1.2.0.post0-3

Git Clone URL: https://aur.archlinux.org/python-ratelimiter.git (read-only, click to copy)
Package Base: python-ratelimiter
Description: Simple Python module providing rate limiting
Upstream URL: https://github.com/RazerM/ratelimiter
Licenses: Apache
Submitter: kyleam
Maintainer: None
Last Packager: mschu
Votes: 0
Popularity: 0.000000
First Submitted: 2017-10-08 16:10 (UTC)
Last Updated: 2021-12-20 13:21 (UTC)

Pinned Comments

mschu commented on 2023-12-27 11:22 (UTC)

The python-ratelimiter project has been archived on Github on Oct 4th 2023, at a state that is not compatible with python=3.11.

There are some new forks that added python=3.11 support (1, 2, 3), but both reverse dependencies (manubot and snakemake) moved to other packages for rate limiting.

Hence, I see no reason to keep maintaining this and will orphan, maybe also request deletion.

Latest Comments

mschu commented on 2023-12-27 11:22 (UTC)

The python-ratelimiter project has been archived on Github on Oct 4th 2023, at a state that is not compatible with python=3.11.

There are some new forks that added python=3.11 support (1, 2, 3), but both reverse dependencies (manubot and snakemake) moved to other packages for rate limiting.

Hence, I see no reason to keep maintaining this and will orphan, maybe also request deletion.

luscinius commented on 2023-05-10 23:21 (UTC)

Upstream does not support python 3.11 yet: https://github.com/RazerM/ratelimiter/issues/18 The package fails to build.

user20159 commented on 2022-10-21 12:31 (UTC)

Hi, thanks for packaging! Unfortunately, check fails for me with:

running build_ext
Traceback (most recent call last):
  File "/home/lukas/.cache/yay/python-ratelimiter/src/ratelimiter-1.2.0.post0/setup.py", line 39, in <module>
    setup(
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.10/site-packages/setuptools/command/test.py", line 224, in run
    self.run_tests()
  File "/usr/lib/python3.10/site-packages/setuptools/command/test.py", line 227, in run_tests
    test = unittest.main(
  File "/usr/lib/python3.10/unittest/main.py", line 100, in __init__
    self.parseArgs(argv)
  File "/usr/lib/python3.10/unittest/main.py", line 124, in parseArgs
    self._do_discovery(argv[2:])
  File "/usr/lib/python3.10/unittest/main.py", line 244, in _do_discovery
    self.createTests(from_discovery=True, Loader=Loader)
  File "/usr/lib/python3.10/unittest/main.py", line 154, in createTests
    self.test = loader.discover(self.start, self.pattern, self.top)
  File "/usr/lib/python3.10/unittest/loader.py", line 349, in discover
    tests = list(self._find_tests(start_dir, pattern))
  File "/usr/lib/python3.10/unittest/loader.py", line 405, in _find_tests
    tests, should_recurse = self._find_test_path(
  File "/usr/lib/python3.10/unittest/loader.py", line 483, in _find_test_path
    tests = self.loadTestsFromModule(package, pattern=pattern)
  File "/usr/lib/python3.10/site-packages/setuptools/command/test.py", line 57, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/usr/lib/python3.10/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/home/lukas/.cache/yay/python-ratelimiter/src/ratelimiter-1.2.0.post0/tests/conftest.py", line 9, in <module>
    class DummyCollector(pytest.collect.File):
  File "/usr/lib/python3.10/site-packages/pytest/__init__.py", line 165, in __getattr__
    raise AttributeError(f"module {__name__} has no attribute {name}")
AttributeError: module pytest has no attribute collect. Did you mean: 'Collector'?

I'm building with --nocheck now. Any ideas?