Comments (5)
Hey @kloczek ! Thanks for letting us know, I will take a look!
from sentry-python.
@kloczek Can you try running sphinx in Python 3.11? (we used the NotRequired
type, which was introduced in Python 3.11)
from sentry-python.
Just tested #3077 and it does not fixes reported issue 😞
from sentry-python.
Is it possible to reopen this ticket? 🤔
from sentry-python.
Just retested 2.5.1 and documentation build still fails.
+ /usr/bin/sphinx-build -n -T -b man docs build/sphinx/man
Running Sphinx v7.3.7
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/sphinx/registry.py", line 453, in load_extension
mod = import_module(extname)
File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/sphinx/domains/c/__init__.py", line 13, in <module>
from sphinx.domains.c._ast import (
File "/usr/lib/python3.10/site-packages/sphinx/domains/c/_ast.py", line 22, in <module>
from sphinx.domains.c._symbol import Symbol
File "/usr/lib/python3.10/site-packages/sphinx/domains/c/_symbol.py", line 5, in <module>
from sphinx.domains.c._ast import (
ImportError: cannot import name 'ASTDeclaration' from partially initialized module 'sphinx.domains.c._ast' (most likely due to a circular import) (/usr/lib/python3.10/site-packages/sphinx/domains/c/_ast.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/sphinx/cmd/build.py", line 332, in build_main
app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
File "/usr/lib/python3.10/site-packages/sphinx/application.py", line 225, in __init__
self.setup_extension(extension)
File "/usr/lib/python3.10/site-packages/sphinx/application.py", line 402, in setup_extension
self.registry.load_extension(self, extname)
File "/usr/lib/python3.10/site-packages/sphinx/registry.py", line 456, in load_extension
raise ExtensionError(__('Could not import extension %s') % extname,
sphinx.errors.ExtensionError: Could not import extension sphinx.domains.c (exception: cannot import name 'ASTDeclaration' from partially initialized module 'sphinx.domains.c._ast' (most likely due to a circular import) (/usr/lib/python3.10/site-packages/sphinx/domains/c/_ast.py))
Extension error:
Could not import extension sphinx.domains.c (exception: cannot import name 'ASTDeclaration' from partially initialized module 'sphinx.domains.c._ast' (most likely due to a circular import) (/usr/lib/python3.10/site-packages/sphinx/domains/c/_ast.py))
from sentry-python.
Related Issues (20)
- Add new before_serialize_vars hook HOT 1
- Remove hub from `transaction_profiler` HOT 1
- Remove `hub` from Spans` HOT 1
- Remove hub from `sessions.py` HOT 1
- Fully deprecate hub-based logic in `sessions.py`
- Segmentation fault in starlette integration after upgrade to Python 3.12 HOT 1
- Get rid of `sentry_sdk._types.TYPE_CHECKING` HOT 3
- Expose custom safe_repr config HOT 1
- Document `test_sessions`
- Fix breadcrumb sorting when using `structlog-sentry`
- Add addition data to Sentry events from existing logging library
- Spans for FastAPI background tasks are not shown as async
- <broken repr> in stack trace variables. HOT 1
- What is the definition of trace id? HOT 4
- GraphQL query/parse/validate/resolve spans missing for Strawberry queries made through WebSocket Transport HOT 3
- Fix `datetime` serialization for non-UTC timestamps HOT 6
- Add tracing to `DramatiqIntegration` HOT 1
- dramatiq integration with no tracing or profiling HOT 1
- Cron monitor slug truncates if Celerybeat periodic task name contains a 2nd ":" HOT 1
- Make `continue_trace` work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-python.