-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
python311Packages.{shiny, rsconnect_*} #231189
base: master
Are you sure you want to change the base?
Conversation
@onny - how's this? Thanks for the feedback so far. |
Result of 20 packages built:
|
Result of 20 packages built:
|
Any feedback is welcome, otherwise this is ready for a merge. Thanks! |
@onny - thanks! |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
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.
Result of nixpkgs-review pr 231189 --eval local
run on x86_64-linux 1
2 packages failed to build:
- python311Packages.rsconnect-jupyter
- python311Packages.rsconnect-jupyter.dist
12 packages built:
- python311Packages.contextvars
- python311Packages.contextvars.dist
- python311Packages.htmltools
- python311Packages.htmltools.dist
- python311Packages.rsconnect-python
- python311Packages.rsconnect-python.dist
- python311Packages.shiny
- python311Packages.shiny.dist
- python311Packages.shinywidgets
- python311Packages.shinywidgets.dist
- python312Packages.contextvars
- python312Packages.contextvars.dist
rsconnect-jupyter> E ModuleNotFoundError: No module named 'notebook.base'
There are some systemic issues i only comment on once, please apply the changes to all the added packages.
Please also clean up the git commit history, notably:
contextvars
andshiny
are added in the same commit- the final commit silently bumps two deps
nativeCheckInputs = [ | ||
pytest | ||
]; | ||
|
||
checkPhase = '' | ||
runHook preCheck | ||
pytest tests/ | ||
runHook postCheck | ||
''; |
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.
nativeCheckInputs = [ | |
pytest | |
]; | |
checkPhase = '' | |
runHook preCheck | |
pytest tests/ | |
runHook postCheck | |
''; | |
nativeCheckInputs = [ | |
pytestCheckHook | |
]; |
buildPythonPackage rec { | ||
pname = "contextvars"; | ||
version = "2.4"; | ||
format = "setuptools"; |
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.
format = "setuptools"; | |
pyproject = true; |
A new standard
# can reenable once upstream updates | ||
checkPhase = '' | ||
runHook preCheck | ||
pytest tests/ --ignore=tests/test_managers.py |
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.
When using pytestCheckHook
you can add additional flags to pytestFlagsArray
, but this case can be solved with disabledTests
or disabledTestPaths
checkPhase = '' | ||
runHook preCheck | ||
# Needed to avoid /homeless-shelter error | ||
export HOME=$(mktemp -d) |
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.
when using pytestCheckHook
, this can be moved to preCheck
@aucub, why was this closed? |
Some packages have been added |
Description of changes
Adding Shiny for Python, Posit Connect packages, and related dependencies.
@alexvorobiev @onny
Things done