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

Update for Python 3.8 #1617

Merged
merged 10 commits into from
Jan 21, 2022
Merged

Update for Python 3.8 #1617

merged 10 commits into from
Jan 21, 2022

Conversation

anargyri
Copy link
Collaborator

@anargyri anargyri commented Jan 19, 2022

Description

  • Tested with Python 3.8
  • Updated the README files to include Python 3.8
  • Removed slow SASRec test from unit tests.

Related Issues

#1616

Checklist:

  • I have followed the contribution guidelines and code style for this project.
  • I have added tests covering my contributions.
  • I have updated the documentation accordingly.
  • This PR is being made to staging branch and not to main branch.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Collaborator

@miguelgfierro miguelgfierro left a comment

Choose a reason for hiding this comment

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

@anargyri this is so great, do all the test pass with 3.8?

Comment on lines -129 to -133
@pytest.mark.notebooks
@pytest.mark.gpu
def test_sasrec_single_node_runs(notebooks, output_notebook, kernel_name):
notebook_path = notebooks["sasrec_quickstart"]
pm.execute_notebook(notebook_path, output_notebook, kernel_name=kernel_name)
Copy link
Collaborator

Choose a reason for hiding this comment

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

quick question, is there a similar test in smoke or integration?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, there is one in integration (the same notebook). I removed this one because it took about 90 minutes to complete.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The integration test is quite slow (2h 20 mins).

@anargyri
Copy link
Collaborator Author

@anargyri this is so great, do all the test pass with 3.8?

I need to check smoke and integration tests too, tomorrow.

@anargyri
Copy link
Collaborator Author

anargyri commented Jan 20, 2022

@anargyri this is so great, do all the test pass with 3.8?

I need to check smoke and integration tests too, tomorrow.

Smoke tests pass (except the difference in AUC in mmlspark lightgbm notebook).

@codecov-commenter
Copy link

codecov-commenter commented Jan 20, 2022

Codecov Report

Merging #1617 (cf7bfd8) into staging (6a20936) will decrease coverage by 2.43%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           staging    #1617      +/-   ##
===========================================
- Coverage    59.12%   56.68%   -2.44%     
===========================================
  Files           88       88              
  Lines         8942     8956      +14     
===========================================
- Hits          5287     5077     -210     
- Misses        3655     3879     +224     
Flag Coverage Δ
pr-gate 56.68% <100.00%> (-2.44%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
recommenders/models/rbm/rbm.py 83.60% <100.00%> (+1.35%) ⬆️
recommenders/models/sasrec/sampler.py 31.25% <0.00%> (-60.42%) ⬇️
recommenders/models/sasrec/model.py 26.28% <0.00%> (-58.92%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 02451f1...cf7bfd8. Read the comment docs.

@anargyri
Copy link
Collaborator Author

Integration tests pass too.

@anargyri anargyri merged commit 735df87 into staging Jan 21, 2022
@anargyri anargyri deleted the andreas/python38 branch January 21, 2022 12:20
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

Successfully merging this pull request may close these issues.

3 participants