- Notifications
You must be signed in to change notification settings - Fork1.5k
-
As a user, I would like to be able to specify a package I would like, and manually manage dependencies. e.g. in pyscript.toml packages = ["arcgis --no-deps"] (or whatever syntax makes the most sense, if it becomes an object or something) from python, I can use micropip to install the package (it is failing to import after this, but I'm confident there is a way to make it work) importpyodide_jsawaitpyodide_js.loadPackage('micropip')importmicropipawaitmicropip.install("arcgis >=2.4.1",deps=False)importarcgis# fails currently, may need to do the install on js before loading the script Similar issue:#2298 |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 5 replies
-
I am personally not too keen to find a solution that works for only 1 out of many fields I actually wonder if having something like this would be a nice addition to our packages featutres/abilities: [package.arcgis]version=">=2.4.1"# optionalkeep_going=False# optionaldeps=True# optionalcredentials=None# optionalpre=False# optionalindex_urls=None# optionalverbose=None# optional A list of |
BetaWas this translation helpful?Give feedback.
All reactions
-
I like that solution |
BetaWas this translation helpful?Give feedback.
All reactions
-
Something else that might work for my use case is being able to specify packages to mock in the config. |
BetaWas this translation helpful?Give feedback.
All reactions
-
please let's have one discussion per time 😅 |
BetaWas this translation helpful?Give feedback.
All reactions
-
Seemed relevant 🤷♂️ |
BetaWas this translation helpful?Give feedback.
All reactions
-
you can mock via |
BetaWas this translation helpful?Give feedback.