-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
Patch notebook < 7 dependencies for jupyter_client and pyzmq #489
base: main
Are you sure you want to change the base?
Conversation
Pinging @bollwyvl for some help with this PR! Thank you in advance! |
recipe/gen_patch_json.py
Outdated
# all versions of Notebook < 7 should at least pin to | ||
# jupyter_client < 8 and pyzmq < 25 as in | ||
# https://github.com/jupyter/notebook/pull/6749 | ||
if record_name == "notebook" and int(record["version"].split(".", 1)[0]) < 7: |
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.
Note the second checklist item in the PR template...
Make sure to add a condition
and record.get("timestamp", 0) < NOW
so your changes only affect packages built in the past. Replace NOW withpython -c "import time; print(f'{time.time():.0f}000')"
-->
...so perhaps something like:
if (
record_name == "notebook"
and int(record["version"].split(".", 1)[0]) < 7
and record.get("timestamp", 0) < 1691035398000
):
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.
Thank you! I have updated the condition!
you can get the diff output from a known-good env on CI, a la: (view raw log, snip out the relevant bits)
Yeah, whatever it says on the tin, pretty much nothing from For conda-forge related stuff, i recommend:
# environment.yml
name: conda-forge-chores
channels:
- conda-forge
- nodefaults
dependencies:
- python >=3.11,<3.12
- mamba
- boa
- conda-smithy
- conda-build
- conda-lock
- grayskull
- conda-suggest do all conda-forge-related stuff from this env, and keep it relatively up-to-date. |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Thank you @bollwyvl for the guidance! I was able to follow your advice to run the script. The diff is quite long so please find it either in the dropdown below or this gist. Diff for patch
|
I'm wondering if 1 year later this is still desired or if we can close it? thanks! |
Checklist
python show_diff.py
and posted the output as part of the PR.Having trouble running this script due to issues with conda/conda_build. After installing the conda_build with
pip
it pulled 2.1.5 and the following is the error message I am running into: