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

[query] Python 3.8, Numpy 1.24.2, Bokeh 3.x.x, fixes to plots.py, fixes to req generation #12929

Merged
merged 29 commits into from May 2, 2023

Conversation

danking
Copy link
Collaborator

@danking danking commented Apr 24, 2023

CHANGELOG: Hail no longer officially supports Python 3.7.

Combines #12927 and #12908.

Many changes. All seem to be necessary together.


I fixed any new mypy errors or deprecation warnings. I also cleaned up plots.py (which isn't CI'd by mypy) because I was in there and it was a mess. I unified all our pip-tools versions. Require pandas 2 now. That requires Bokeh 3.x.x. Fix the pinned-requirements.txt dependencies so they reflect the actual necessary runtime harmony. Upgraded Sphinx. The method names lose their fixed-width styling but I think it looks fine. Version policy added. Updating everything means Jinja2 can jump to the latest version too. Numpy deprecated some of its types, using _ gets rid of the warning.

danking and others added 26 commits April 24, 2023 17:00
CHANGELOG: Bokeh 3.x.x is now required which allows for compatibility with pandas 2.x.x.

There were a lot of issues in this file that I tried to clean up. The mypy errors are now just
things that are poorly typed by Bokeh. I also changed how manhattan plot hides irrelevant
tooltip information. I made it an explicit argument to the `_get_scatter_plot_elements`.

I verified the plots in the GWAS Tutorial look the same by eye. I also verified the tooltips
look the same with a few spot checks. I also built the docs to ensure those were fine.
Bumps [numpy](https://github.com/numpy/numpy) from 1.21.6 to 1.24.2.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v1.21.6...v1.24.2)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
CHANGELOG: Hail no longer officially supports Python 3.7.
Copy link
Contributor

@daniel-goldstein daniel-goldstein left a comment

Choose a reason for hiding this comment

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

This all looks fine but I added WIP so that we can replicate Ben's issue with the same version of python/our dependencies. Once that's done merge at your leisure

decorator<5
Deprecated>=1.2.10,<1.3
dill>=0.3.1.1,<0.4
frozenlist>=1.3.1,<2
hurry.filesize>=0.9,<1
Jinja2==3.0.3
numpy<2
pandas>=1.3.0,<2.1
Copy link
Contributor

@jmarshall jmarshall Apr 30, 2023

Choose a reason for hiding this comment

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

Does this requirement (on line 12/13) also need adjusting to pandas>=2,<3?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes @danking

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch thanks @jmarshall

Copy link
Contributor

@daniel-goldstein daniel-goldstein left a comment

Choose a reason for hiding this comment

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

Need to change pandas version in hall requirements

@danking danking removed the WIP label May 1, 2023
@danking danking merged commit bb7c332 into hail-is:main May 2, 2023
8 checks passed
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

3 participants