-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Labels
kind/bugAn unexpected problem or behaviorAn unexpected problem or behavior
Description
What happened? What is the problem?
$ pip freeze | grep -e ogr= -e pyforgejo=
ogr==0.56.1
pyforgejo==2.0.5
$ python -c "import ogr"
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
import ogr
File "/tmp/pok/lib/python3.13/site-packages/ogr/__init__.py", line 11, in <module>
from ogr.abstract import AuthMethod
File "/tmp/pok/lib/python3.13/site-packages/ogr/abstract/__init__.py", line 4, in <module>
from ogr.abstract.abstract_class import OgrAbstractClass
File "/tmp/pok/lib/python3.13/site-packages/ogr/abstract/abstract_class.py", line 4, in <module>
from ogr.abstract.exception import CatchCommonErrors
File "/tmp/pok/lib/python3.13/site-packages/ogr/abstract/exception.py", line 42, in <module>
pyforgejo.core.api_error.ApiError, # type: ignore
^^^^^^^^^^^^^^
File "/tmp/pok/lib/python3.13/site-packages/pyforgejo/__init__.py", line 543, in __getattr__
raise AttributeError(
f"No {attr_name} found in _dynamic_imports for module name -> {__name__}"
)
AttributeError: No core found in _dynamic_imports for module name -> pyforgejoWhat did you expect to happen?
No response
Example URL(s)
No response
Steps to reproduce
1.
2.
3.Workaround
- There is an existing workaround that can be used until this issue is fixed.
Participation
- I am willing to submit a pull request for this issue. (Packit team is happy to help!)
Metadata
Metadata
Assignees
Labels
kind/bugAn unexpected problem or behaviorAn unexpected problem or behavior
Type
Projects
Status
in-review