Skip to content

Conversation

@MaineC
Copy link
Contributor

@MaineC MaineC commented Sep 20, 2023

When running make test for the first time on a machine not regularly used for building and testing python code chances are high that pytest and pytest-cov aren't installed. This add them as a dependency to requirements.txt.

Also adding information on minimum python version to run the code. With python3.10 I ran into the error message

TypeError: Parameters to generic types must be types. Got <module 'github3.issues.event'

With python3.11 this error was gone.

  • If documentation is needed for this change, has that been included in this pull request
  • run make lint and fix any issues that you have introduced
  • run make test and ensure you have test coverage for the lines you are introducing
  • Label as either bug, documentation, enhancement, infrastructure, or breaking (<- the project doesn't let me change labels, likely as a contributor I don't have the karma to do that?)

When running `make test` for the first time on a machine not regularly used for
building and testing python code chances are high that pytest and pytest-cov
aren't installed. This add them as a dependency to requirements.txt.

Also adding information on minimum python version to run the code. With
python3.10 I ran into the error message

`TypeError: Parameters to generic types must be types. Got <module 'github3.issues.event'`

With python3.11 this error was gone.
@MaineC MaineC requested a review from zkoppert as a code owner September 20, 2023 11:02
@zkoppert zkoppert added the bug Something isn't working label Sep 20, 2023
Copy link
Member

@zkoppert zkoppert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contributing back to the project! 🎉 and Thanks @t-lo!

@zkoppert zkoppert merged commit f0e13c3 into github:main Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants