Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coveralls 2.2.0 fails with KeyError: 'service_job_id' #384

Closed
andy-maier opened this issue Apr 29, 2023 · 1 comment
Closed

coveralls 2.2.0 fails with KeyError: 'service_job_id' #384

andy-maier opened this issue Apr 29, 2023 · 1 comment

Comments

@andy-maier
Copy link
Contributor

andy-maier commented Apr 29, 2023

Since a few days, coveralls 2.2.0 fails as follows, at least on Python 3.5 and 3.11.

We use coveralls 2.2.0 in order to avoid issue #252 , and up until recently that has worked fine.

Submitting coverage to coveralls.io...
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.11.3/x64/bin/coveralls", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/coveralls/cli.py", line 85, in main
    result = coverallz.wear()
             ^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.11.3/x64/lib/python3.11/site-packages/coveralls/api.py", line 225, in wear
    self.config['service_job_id'], random.randint(0, sys.maxsize))
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
KeyError: 'service_job_id'

coveralls is run in Gthub Actions without --service=github.

@TheKevJames
Copy link
Owner

Sorry, I don't have the bandwidth to support reports against older versions over coveralls unless a user wants to contribute a backportable fix. Closing this ticket.

Note that if #252 is an issue for you, there are various solutions in that thread which should work with the latest version of coveralls!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants