question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Test failures for CLI

See original GitHub issue

Followup 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:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
sebasticcommented, Nov 3, 2020

Yes, if we can’t make the test pass easily, deselected them easily is a good alternative.

0reactions
sebasticcommented, Nov 3, 2020

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 of libproj.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found