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

test tweaking github-py to >=2.0.0 for python 3.9 support #60

Merged
merged 2 commits into from
Jun 24, 2022

Conversation

vsoch
Copy link
Contributor

@vsoch vsoch commented Jun 8, 2022

An import of Callable from collections (instead of collections.abc) in the pinned version means that it breaks with newer Python. Thus we should try to support github3 >= 2.0.0 when this was fixed. This is a test PR to see how dire this change is I am anticipating it will break for older Python versions in which case we should have a discussion about how to properly address this!) It could just be that we move forward supporting newer Python versions and add a note to the README for older versions to use an older version of the library.

I'm not sure why tests aren't triggering but I'm guessing it's because either I need approval (somewhere I can't see that is not here) or .travis.ci is since disconnected because it sort of has died in the last few years. Let me know if you'd like a new testing setup I'd be happy to do that. :)

This will fix #59

Signed-off-by: vsoch vsoch@users.noreply.github.com

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
@vsoch
Copy link
Contributor Author

vsoch commented Jun 10, 2022

@IanLee1521 not sure why tests aren't running here (perhaps GH-actions are disabled) but I opened a PR to my branch to show working: https://github.com/researchapps/scraper/actions/runs/2472598848. I also ran the version here against the (currently broken but with the patch here fixed!) contributor-ci action: https://github.com/vsoch/contributor-ci/runs/6824670095?check_suite_focus=true. Works! So I think it would be great to have a release soon, and of course let me know if you want more work here.

@IanLee1521 IanLee1521 merged commit d37de57 into LLNL:main Jun 24, 2022
@vsoch
Copy link
Contributor Author

vsoch commented Jun 24, 2022

thank you!

@vsoch
Copy link
Contributor Author

vsoch commented Jun 24, 2022

@IanLee1521 what is the schedule / protocol for new releases?

@IanLee1521
Copy link
Member

Basically just when I feel like it.

I was trying to test installing in a pipenv, and having trouble, but as soon as I confirm a couple simple cases, I can push out the release.

@vsoch
Copy link
Contributor Author

vsoch commented Jun 24, 2022

okay sounds good! Can you post here when you do? And no rush, I put in a custom branch fix a few weeks ago, so I can update this in my tooling whenever is good for you.

@IanLee1521
Copy link
Member

@vsoch - Sorry for the delay! This is now uploaded to: https://pypi.org/project/llnl-scraper/0.11.0/

Hopefully we didn't break anything along the way 🙃

@vsoch
Copy link
Contributor Author

vsoch commented Jul 5, 2022

Thank you!!

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.

github-py pinned version won't work for newer python
2 participants