-
Notifications
You must be signed in to change notification settings - Fork 26
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
Run test for Python-3.11 #1237
Run test for Python-3.11 #1237
Conversation
CI failed while building |
3035a3a
to
7313d30
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like some checks are failing too (mypy and pre-commit check)
5167ff2
to
f181cd8
Compare
This known issue cloudera/python-sasl#30 |
I made a couple of contributions to PyHive which were accepted and released in 0.7.1.dev0. You are requested to test with the dev version and report any bugs in the PyHive GitHub repository before 0.7.1 is released in a month or so.
|
Thanks @mdeshmu for letting us know. We are having this issue because we depend on the airflow apache hive provider that depends on sasl. Look like Jarek has already opened PR apache/airflow#32607 for airflow provider testing |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #1237 +/- ##
=======================================
Coverage 98.57% 98.57%
=======================================
Files 90 90
Lines 5393 5393
=======================================
Hits 5316 5316
Misses 77 77 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly, looks good to me.
I am checking the results of Python 3.11 test job https://app.circleci.com/pipelines/github/astronomer/astronomer-providers/6082/workflows/fa610ca9-085d-4572-b550-4cefd117fba5/jobs/40521
Did a couple of tests fail and yet it reported a success? Can we please check this?
.circleci/config.yml
Outdated
glob "tests/**/test_*.py" | sed '/tests\/apache\/hive/d' \ | ||
| circleci tests split --split-by=timings \ | ||
) | ||
pytest --junit-xml=test-report/report.xml $TEST_FILES |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add some comment (maybe at the top of the step?) on why we are ignoring to include the code coverage here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added on at the top of this job PTAL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aha, I missed the codecov step. I did not include it because except for hive all tests are running here and including it will not change coverage. But happy to include it if you think it makes sense
.circleci/scripts/pre_commit_setup_cfg_python_3_11_all_extra.py
Outdated
Show resolved
Hide resolved
.circleci/scripts/pre_commit_setup_cfg_python_3_11_all_extra.py
Outdated
Show resolved
Hide resolved
.circleci/scripts/pre_commit_setup_cfg_python_3_11_all_extra.py
Outdated
Show resolved
Hide resolved
.circleci/scripts/pre_commit_setup_cfg_python_3_11_all_extra.py
Outdated
Show resolved
Hide resolved
.circleci/scripts/pre_commit_setup_cfg_python_3_11_all_extra.py
Outdated
Show resolved
Hide resolved
okay, looks good to me then when the above comments are addressed, great work 👏🏽 |
not sure, what happened I just did the force pushed and closed PR 🤔 |
re-opening |
@pankajkoti yes something I messed up :) |
.circleci/scripts/pre_commit_setup_cfg_python_3_11_all_extra.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Wei Lee <weilee.rx@gmail.com>
.circleci/scripts/pre_commit_setup_cfg_python_3_11_all_extra.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me but can't seem to find codecov comment #1237 (comment)
I was referring to this comment file .circleci/config.yml
|
* Bring back hive provider for Python3.11 * Revert #1237 * Bump hive provider verion * Update config
Run unit tests for Python3.11
exclude hive extra from it because of issue cloudera/python-sasl#30