← All tasks
pythoncensus-instrumentation/opencensus-python #1219Not a task: already works

ModuleNotFoundError: No module named 'six'

envgap__census-instrumentation__opencensus-python-1219

01 / FAILURE SIGNATURE

As reported upstream

Error message: "ModuleNotFoundError: No module named 'six'"
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
b713025772901ca4f5a91c47c8d9791396f43ccc
Manifest
setup.py
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

census-instrumentation/opencensus-python #1219 · read the original issue
**Describe your environment.**

Python 3.10

opencensus==0.11.2



**Steps to reproduce.**

pip install opencensus==0.11.2

and try to do: from opencensus.common.schedule import Queue, QueueEvent, QueueExitEvent



**What is the expected behavior?**

Modules get imported



**What is the actual behavior?**

Error message: "ModuleNotFoundError: No module named 'six'"



**Additional context.**

"opencensus" is using "six" and "google-api-core"

"google-api-core" is using "google-auth"

"google-auth" is using "six" in the versions previous to "2.23.0" (it was released 2 days ago)

So now if we try to do pip install opencensus==0.11.2, google-auth-2.23.0 will get installed and "six" won't which would break "opencensus"



I guess "opencensus" should add "six" as a dependency as it is being used in its source code.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]