Test failures for CLI
See original GitHub issueFollowup for #734. The Debian package build for 3.0-rc1 still fails due to test failures, even with -m "not network"
, because the CLI related tests fail.
------------------------------ Captured log call -------------------------------
DEBUG pyproj:crs.py:965 PROJ_ERROR: proj_crs_get_sub_crs: Object is not a CompoundCRS
DEBUG pyproj:crs.py:965 PROJ_ERROR: proj_crs_get_sub_crs: Object is not a CompoundCRS
DEBUG pyproj:transformer.py:81 PROJ_ERROR: proj_coordoperation_get_method_info: Object is not a DerivedCRS or BoundCRS
=============================== warnings summary ===============================
.pybuild/cpython3_3.8_pyproj/build/test/test_transformer.py::test_transformer_group__get_transform_crs
/build/python-pyproj-3.0~rc1/.pybuild/cpython3_3.8_pyproj/build/pyproj/transformer.py:81: UserWarning: Best transformation is not available due to missing Grid(short_name=nl_nsgi_rdtrans2018.tif, full_name=, package_name=, url=https://cdn.proj.org/nl_nsgi_rdtrans2018.tif, direct_download=True, open_license=True, available=False)
super().__init__(
-- Docs: https://docs.pytest.org/en/latest/warnings.html
====== 18 failed, 292 passed, 24 deselected, 1 warnings in 111.28 seconds ======
E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd '/build/python-pyproj-3.0~rc1/.pybuild/cpython3_3.8_pyproj/build'; python3.8 -m pytest -v -m "not network"
Test output: pyproj.txt
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Reproduce the test failure by running the test from ...
In this article. It is sometimes convenient to reproduce test failures by running the tests from command line. The following documentation ...
Read more >Failing of builds in Snyk CLI
Fail when there is at least one vulnerability that can be patched. If vulnerabilities do not have a fix and this option is...
Read more >How to handle test failures
To stop the testing process after the first (N) failures: ... debugger called pdb. pytest allows one to drop into the pdb prompt...
Read more >Test fails (correctly) on command line, but succeeds ...
For the sake of this question, assume that the glob /a/b/c/* produces no matches. This means that the following test should fail (in...
Read more >Command line flag that runs all "failures" from the last run
Is there an idiomatic way to re-run just failed tests (but only after a full test run) across multiple invocations of the test...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, if we can’t make the test pass easily, deselected them easily is a good alternative.
No, they are included in the
proj-data
package which provides the content of/usr/share/proj
(proj.db
among others), and is a strict dependency oflibproj
.