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.

testing failure on python3.8

See original GitHub issue

our CI tests fail on 3.8 because a dependency conflict causes the conda solver to churn forever. Nothing in our dependencies suggests an obvious potential conflict with 3.8–except region.

Looking a bit closer at region’s reqs, it specifies sklearn instead of scikit-learn, which is a deprecated alias. I’m guessing that’s the culprit. I’m not sure the best way to resolve this. We’re not planning to release spopt for awhile, and we’ve decided not to do any more releases of region (though this would be a very quick and easy change). What do you think @sjsrey?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
knaaptimecommented, Sep 18, 2020

resolved thanks to some fantastic help from @marcelotrevisani

1reaction
knaaptimecommented, Jun 29, 2020

if you try to install region in an empty 3.8 envirionment you get

test38 ❯ conda install region
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions
Note that strict channel priority may have removed packages required for satisfiability.

so i’m fairly confident this is the root of the problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue 36702: test_dtrace failed - Python tracker
However, when I run "make test", I got a failure on test_dtrace as: Ran 8 tests in 4.752s FAILED (failures=6, skipped=2) test test_dtrace ......
Read more >
not found: (no name running python tests with moto, boto3 and ...
1 Answer 1 · I updated the test File (test_api_login.py) according to your suggestions and got a different error. · Note that, as...
Read more >
Python3.8 time.sleep() fails on unit test - Atlassian Community
Python3.8 time.sleep() fails on unit test ... Hi there, I'm using python:3.8 image and trying to run unit test with pytest. When time.sleep() ......
Read more >
Error during tests ase tests
Libraries. ase-3.21.1 /home/19ph90j04/anaconda3/lib/python3.8/site-packages/ase numpy-1.18.
Read more >
Bug #1939693 “1.4.0: python module test suite is failing”
Without installed testtools test suite is failing because this module is required. ... /usr/lib64/python3.8/runpy.py:127: RuntimeWarning: ...
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