Skip to content

Debug jupyter-releaser issue #561

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

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

krassowski
Copy link
Contributor

References

#558

Code changes

Just blindly checking if changing this could have an impact

User-facing changes

None

Backwards-incompatible changes

None

@krassowski
Copy link
Contributor Author

Oh, check-release is not running on PRs until they are closed due to this commit: 51ca23c

@krassowski
Copy link
Contributor Author

krassowski commented Nov 15, 2024

This exposed an error ValueError: @jupyterlab/scheduler is missing 'main' file lib/index.js

Nevermind...

@krassowski
Copy link
Contributor Author

Nope, this did not help at all:

image

@krassowski
Copy link
Contributor Author

It is quite intriguing as other repositories do not experience this issue, but I cannot put any more time into it this week.

I am able to reproduce it locally too. I enabled logging by editing jupyter-releaser code locally but nothing come up in there.

A laborious but possibly more fruitful approach to debugging it would be starting from a fresh cookiecutter and moving over parts of jupyter-scheduler to see what causes this behaviour.

@andrii-i
Copy link
Collaborator

Thank you for looking into this @krassowski.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request aims to investigate potential impacts on the jupyter-releaser process by updating dependency versions, modifying build targets, and adjusting workflow configurations.

  • Updated build and dependency requirements in pyproject.toml
  • Modified build hook paths and pre-build steps
  • Adjusted CI workflow with checkout version rollback and added debug commands

Reviewed Changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.

File Description
pyproject.toml Updated dependency constraints and build hook configurations
.github/workflows/check-release.yml Downgraded the checkout action version and added debug commands
Files not reviewed (2)
  • MANIFEST.in: Language not supported
  • package.json: Language not supported
Comments suppressed due to low confidence (3)

pyproject.toml:32

  • The removal of dependencies (e.g., 'jupyter_server', 'traitlets', etc.) could lead to runtime issues if these packages are required elsewhere in the code. Please confirm that these removals are intentional and that the project’s functionality is not impacted.
    "jupyter_server>=1.6,<3",

.github/workflows/check-release.yml:17

  • Downgrading the checkout action from v4 to v3 may result in missing features or unexpected behavior if the latest version was required by the workflow. Please verify that this change aligns with the intended release process.
      - uses: actions/checkout@v3

.github/workflows/check-release.yml:18

  • [nitpick] The inclusion of debug commands (e.g., 'ls -al') may be useful for troubleshooting but should be removed or conditional in production CI workflows to avoid unnecessary log noise.
      - run: ls -al

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.

2 participants