-
-
Notifications
You must be signed in to change notification settings - Fork 325
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 Python 3.9 and 3.12 on CI, test minimum dependencies #1029
Conversation
709235e
to
c1e11ba
Compare
Looking at the
This PR could still be merged as-is just to ensure the Python versions are covered; I will iterate on the |
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.
@krassowski Thank you for opening this PR! This is a valuable contribution that will help prevent similar issues from arising in the future. I've left a few points of feedback for you to address below.
Looking at the pip list output it does not actually install the minimum required versions in the minimum variant.
I think to support dependency-type
being used in GitHub job runs, we need to figure out how this is being passed to the shell command being run. For example, does this set an environment variable that scripts are supposed to use to determine how to install their dependencies? I can also investigate this myself later if you'd prefer my help on this.
To mention it explicitly, the issue with
|
@dlqqq does jupyterlab/maintainer-tools#250 look good to you? |
as per review users can still do `/learn .*` and it would be in line how `bash`/`zsh` works (e.g. `ls * -a` does not files in hidden directories but `ls .*` does).
f435a4d
to
610eeee
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.
@krassowski This PR looks great, thank you for contributing this! I've also reviewed jupyterlab/maintainer-tools#250.
…#1029) * Test Python 3.9 and 3.13 on CI, test minimum dependencies * Bump versions in pyproject.toml files, define hatch build * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix spurious dev install in Python unit tests job * Restore the install from script, add pip list * Fix the issue * Satisfy mypy typing, fix missing import * Fail if any of commands in install script fails * Revert back the attempt to use 3.13 * Add local dependencies specification * Update the `requires-python` to `>=3.9,<3.13` in monorepo * Drop `include_hidden=all_files` from `iglob` instead as per review users can still do `/learn .*` and it would be in line how `bash`/`zsh` works (e.g. `ls * -a` does not files in hidden directories but `ls .*` does). * Update Python pin to just `>3.9` --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Related to multiple past issues where dependencies where misspecified.