-
Notifications
You must be signed in to change notification settings - Fork 228
Closed
Labels
installation-issuesIssue related to installation problems.Issue related to installation problems.
Description
Installation method/steps
I'm packaging pyproj for openSUSE project. The build and installation steps boil down to python3 setup.py install and py.test. Example build log can be found at https://build.opensuse.org/package/live_build_log/Application:Geo/python-pyproj/openSUSE_Tumbleweed/x86_64. Until v2.6.0 this installation procedure worked fine. Trying to upgrade to v2.6.1 resulted in tests failing to start. The corresponding log part is:
...
[ 17s] + py.test-3.8 --ignore=_build.python2 --ignore=_build.python3 --ignore=_build.pypy3 -v
[ 17s] ImportError while loading conftest '/home/abuild/rpmbuild/BUILD/pyproj-2.6.1.post1/test/conftest.py'.
[ 17s] test/conftest.py:4: in <module>
[ 17s] from pyproj.datadir import get_data_dir
[ 17s] pyproj/__init__.py:50: in <module>
[ 17s] from pyproj import _datadir
[ 17s] E ImportError: cannot import name '_datadir' from partially initialized module 'pyproj' (most likely due to a circular import) (/home/abuild/rpmbuild/BUILD/pyproj-2.6.1.post1/pyproj/__init__.py)
[ 17s] error: Bad exit status from /var/tmp/rpm-tmp.BRrH1g (%check)
...
Git bisect led to commit a88f6b2 ("TST: Update tests with behavior with new PROJ grids (#594)"). How to fix pyproj so that the above build procedure completes again, please?
Environment Information
- pyproj v2.6.1rel
- PROJ 7.0.0
- Python 3.8.2
- Operation System Linux-5.6.11-1-default-x86_64-with-glibc2.2.5 (openSUSE Tumbleweed - rolling distro)
Metadata
Metadata
Assignees
Labels
installation-issuesIssue related to installation problems.Issue related to installation problems.