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

Documentation: Add required python version to docs and test deps. #125

Merged
merged 1 commit into from
Sep 20, 2023

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.
@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
4 checks passed
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.

None yet

2 participants