Skip to content

Commit f5935f0

Browse files
authored
docs-requirements: fix warning with remoulade > 5 (#4466)
This warns locally because `RateLimitEnqueue` has been moved to an optional package: sphinx.errors.SphinxWarning: autodoc: failed to import module 'remoulade' from module 'opentelemetry.instrumentation'; the following exception was raised: cannot import name 'RateLimitEnqueue' from 'remoulade.rate_limits' (/home/rm/src/opentelemetry-python-contrib/.tox/docs/lib/python3.12/site-packages/remoulade/rate_limits/__init__.py)
1 parent 526eea4 commit f5935f0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs-requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ PyMySQL~=1.1.1
4444
pymssql~=2.3.2
4545
pyramid>=1.7
4646
redis>=2.6
47-
remoulade>=0.50
47+
remoulade[limits]>=5.0.0 ; python_version >= "3.12"
48+
remoulade>=0.50.0 ; python_version < "3.12"
4849
sqlalchemy>=1.0
4950
starlette~=0.50
5051
tornado>=5.1.1

0 commit comments

Comments
 (0)