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

Panel dev pytest-playwright conda version conflict #6622

Closed
cdeil opened this issue Mar 31, 2024 · 5 comments · Fixed by #6628
Closed

Panel dev pytest-playwright conda version conflict #6622

cdeil opened this issue Mar 31, 2024 · 5 comments · Fixed by #6628
Labels
type: docs Related to the Panel documentation and examples

Comments

@cdeil
Copy link
Contributor

cdeil commented Mar 31, 2024

ALL software version info

See here: https://gist.github.com/cdeil/9291046977f5af468654af57dd083de6

Description of expected behavior and the observed behavior

I expect the instructions here to work to set up a dev environment:

https://panel.holoviz.org/developer_guide/index.html

Complete, minimal, self-contained example code that reproduces the issue

Trying to install pytest-playwright with conda fails.

Stack traceback and/or browser JavaScript console output

(panel_dev) panel $ conda install pytest-playwright -c microsoft -c conda-forge
Channels:
 - microsoft
 - conda-forge
 - defaults
 - pyviz/label/dev
 - bokeh
 - pyviz
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - nothing provides playwright >=v1.33.0 needed by pytest-playwright-0.4.2-py_0

Could not solve for environment specs
The following packages are incompatible
└─ pytest-playwright is not installable because there are no viable options
   ├─ pytest-playwright 0.4.2 would require
   │  └─ playwright >=v1.33.0 , which does not exist (perhaps a missing channel);
   └─ pytest-playwright [0.4.3|0.4.4] would require
      └─ playwright >=1.37.0 , which does not exist (perhaps a missing channel).

I guess conda dependencies need to be modernised somehow?

@hoxbro
Copy link
Member

hoxbro commented Mar 31, 2024

This is not a panel problem, playwright is not available on osx-arm64, see microsoft/playwright-python#2211

We could update the documentation with a note.

@cdeil
Copy link
Contributor Author

cdeil commented Mar 31, 2024

Ah OK, thanks! Maybe wait a bit to see if they build the conda package, and if they don't add the note.

@Tobias-Fischer
Copy link

It’s available from my channel if you need it: https://anaconda.org/tobiasrobotics/playwright

@philippjfr
Copy link
Member

Long-time no see, thanks @Tobias-Fischer!

@Tobias-Fischer
Copy link

Good to see you here @philippjfr! I hope all is well. It’s been ten years since Edinburgh days!!

@philippjfr philippjfr added the type: docs Related to the Panel documentation and examples label Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: docs Related to the Panel documentation and examples
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants