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

Version update - New branch #558

Merged
merged 16 commits into from Feb 19, 2022
Merged

Version update - New branch #558

merged 16 commits into from Feb 19, 2022

Conversation

idomic
Copy link
Contributor

@idomic idomic commented Feb 7, 2022

No description provided.

@edublancas
Copy link
Contributor

is this ready for review?

@edublancas edublancas mentioned this pull request Feb 7, 2022
doc/community/user-stats.rst Outdated Show resolved Hide resolved
src/ploomber/telemetry/telemetry.py Outdated Show resolved Hide resolved
monkeypatch=monkeypatch,
last_check='2022-01-20 10:51:41.082376') # version='0.14.8',

# Test no warning when same version encountered
Copy link
Contributor

Choose a reason for hiding this comment

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

remove commented code

Copy link
Contributor

Choose a reason for hiding this comment

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

wait, what is this testing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wanted to test no echo was printed when it's the same version, for some reason the patch I tried on the ploomber.version didn't work, not sure why.

@edublancas
Copy link
Contributor

check errors, the build is failing

@edublancas
Copy link
Contributor

tests pass. is this ready for review?

@idomic
Copy link
Contributor Author

idomic commented Feb 14, 2022 via email

@edublancas
Copy link
Contributor

sure! I quickly skimmed through the code: can you add a test for the timeout? I see the timeout=1 there but it'd best to explicitly test that the get_version() function actually times out after 1 second

@idomic
Copy link
Contributor Author

idomic commented Feb 15, 2022

@edublancas ready for review, I've decoupled the files and added the timeouts check

@edublancas edublancas merged commit 3228a52 into master Feb 19, 2022
@edublancas edublancas deleted the new_version branch February 19, 2022 02:25
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.

None yet

2 participants