Commit Graph

50 Commits

Author SHA1 Message Date
Gyeongjae Choi 276413633b
ENH Add micropip.list() (#2012)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-12-07 14:01:56 +01:00
Gyeongjae Choi a255d54f3f
Fix typo in micropip.install() error [skip ci] (#2004) 2021-11-27 10:57:36 +01:00
Gyeongjae Choi 13bfad661a
ENH Add `keep_going` parameter to `micropip.install()` (#1976)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-11-25 15:47:07 +01:00
Gyeongjae Choi ea92661365
Replace "PyPi" to "PyPI" in docs and yaml (#1962) 2021-11-15 10:26:55 +01:00
Hood Chatham 0e2417c042
ENH Add fetch API (#1865) 2021-10-12 09:29:14 -07:00
Gyeongjae Choi bf024c98e0
Raise error when trying to install a non-pure python wheel (#1859) 2021-09-26 11:24:23 -07:00
Hood Chatham 49b33b5442
Add package config for pyodide package (#1848) 2021-09-21 08:46:44 +02:00
Roman Yurchak 8797f92f59
Documentation on using Pyodide with Node.js [skip ci] (#1788) 2021-08-12 11:39:13 +02:00
Hood Chatham 4cf245aa55
Add cffi package (#1761) 2021-08-01 16:12:14 +02:00
Hood Chatham 3eb82fd834
Improved micropip dependency resolution (#1756) 2021-07-29 18:25:18 +02:00
Roman Yurchak b455d6a6fb
Toward a conda compatible packages.json (#1700) 2021-07-24 09:22:46 -07:00
Hood Chatham 46eee26ff8
Various improvements in core (#1673) 2021-07-01 10:47:44 -07:00
Hood Chatham 5f775051cd
Handle mixed case package names (#1615) 2021-05-30 20:07:31 -07:00
Roman Yurchak 263309102d
Unvendor distutils (#1543)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2021-05-02 15:42:28 +02:00
Hood Chatham ffa99153cc
API Remove loadPackagesFromImports from runPythonAsync (#1538) 2021-04-28 08:47:00 +02:00
Hood Chatham 47ea3d1a68
Fix marker support (#1483) 2021-04-17 19:51:39 -07:00
Hood Chatham 4c315c7c2f
Change conversion behavior for TypedArrays (#1322) 2021-04-15 23:46:39 -07:00
Hood Chatham ea4527e2e0
Use packaging instead of distlib in micropip (#1469) 2021-04-14 20:15:31 +02:00
Hood Chatham b58d2ff274
FIX Only use Pyodide package if version constraint is satisfied (#1463) 2021-04-14 08:31:18 +02:00
Hood Chatham c96583f1e4
FIX Tell loadPackage about packages installed with micropip (#1457) 2021-04-12 19:50:41 -07:00
Hood Chatham 5b405767f9
Some cleanup after #1363 (#1409) 2021-04-01 09:55:18 +02:00
Hood Chatham 150c1f6b45
API Add "loadPyodide" function (#1363)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-04-01 00:43:46 +02:00
Roman Yurchak 8ac788c424
DOC Rename repo links under the Pyodide org (#1383) 2021-03-29 10:37:03 +02:00
Hood Chatham a7da9a6edd
DOC More minor edits to micropip and pyodide.js docstrings (#1357) 2021-03-21 09:15:57 -07:00
Hood Chatham 376f88cfa5
DOC Fix formatting in some docstrings (#1353) 2021-03-20 22:53:45 -07:00
Hood Chatham 95908d4ef6
Minor improvements to micropip (from #1340) (#1347) 2021-03-20 10:44:39 +01:00
Hood Chatham a31f0c4e39
ENH micropip: fetch instead of XMLHttpRequest, async functions (#1324)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>

and remove memory leaks
2021-03-14 11:30:54 +01:00
Hood Chatham ab249a0a50
Use proper duck typing for JsProxy (#1186) 2021-03-11 22:32:14 +01:00
Dexter Chua 2b5a79f72e
Simplify micropip (#1022) 2021-01-03 12:24:32 +01:00
Hood Chatham ba2d394d96
Support relative URLs in micropip (#872)
Co-authored-by: Dexter Chua <dec41@srcf.net>
2020-12-31 18:55:27 +01:00
casatir 349567c02e
FIX micropip not getting last version from PyPi (#846)
Co-authored-by: Romain Casati <romain.casati@webati.fr>
2020-12-12 11:47:01 +01:00
Roman Yurchak 411a058d7b
TST Replace test CGI server with pytest-httpserver (#823) 2020-12-06 14:08:22 +01:00
Roman Yurchak 8c22c98a43
MAINT Reorganize src/ and tests/ folders (#786) 2020-11-09 13:28:02 +01:00
Roman Yurchak f1cc304717
DOC Refactor API reference documentation (#782) 2020-10-31 21:00:58 +01:00
Roman Yurchak 5cc20673be
MNT Add mypy setup in CI and pre-commit (#746) 2020-08-16 19:35:32 +02:00
Roman Yurchak fc5495ffdb
Update to Python 3.8.2 (#712)
* Updating to CPython 3.8

* More fixes

* Skip python headers check in tools/dependency-check.sh

* Fix checksum

* Fix packages

* Fix syntax error

* Fix benchmark path

* Update CPython tests

* More test fixes

* Fix PyStone

* More Cpython test fixes

* Update docs

* Fix issue in conftest

* Add documentation

* Upload updated Docker image
2020-07-07 16:21:33 +02:00
Roman Yurchak 9afc7a1617
STY Apply black for code style (#702)
* Apply black

* A few fixes

* Relax flake8 checks

* Exclude tools/file_packager.py from black
2020-06-28 20:24:40 +02:00
Roman Yurchak 0e26ca0642
BLD Build CLAPACK, cpython and lz4 in parallel (#701) 2020-06-28 15:51:46 +02:00
Roman Yurchak 00ef8956f8
MAINT Remove pytest.ini (#664) 2020-05-18 21:22:48 +02:00
Roman Yurchak 354f79aefd Fix typo in test 2020-05-12 14:11:22 +02:00
Roman Yurchak 21cd9fd366 Minor fix in tests 2020-05-12 12:19:15 +02:00
Roman Yurchak 4be718c852 Add snowballstemmer example file 2020-05-11 10:08:20 +02:00
Roman Yurchak ac68a30511 Supporty custom wheel locations in micropip 2020-05-11 09:51:14 +02:00
Roman Yurchak faee135865
Remove CORS proxy in micropip (#650) 2020-05-10 15:47:09 +02:00
jcaesar 3f9da19e9a
allow micropip to function in a web worker (#632) 2020-04-15 10:28:59 -04:00
Filip Š 72a410c5ff Fix unknown marker variable (#528)
* Fix unknown marker variable

fix-unknown-marker-variable

* Add tests for fix

* Add comments
2019-10-11 08:56:33 -04:00
Jan Max Meyer e1af6fe57c ENH Make local package sources (path) available for meta.yaml (#324) 2019-07-08 20:37:22 +02:00
Roman Yurchak 2cf8639973 MAINT Move package tests under packages/ dir (#471)
* Move package tests under the packages/ folder

* Fix tests
2019-06-19 14:26:08 -04:00
Joost van Zwieten 020b7f7783 fix micropip.install packages with dependencies (#454)
The variable `req` in method `_PackageManager.add_requirement` is erroneously
reused for iterating over recursive requirements, if any.  This causes the
remaining statement to fail.  This patch renames the variable used for the
recursive requirements to `recurs_req`.

Fixes: #413
2019-06-04 10:00:55 -04:00
Michael Droettboom c3c2f10bc5
Loading wheels from PyPI (#147)
* Add micropip

* Remove CORS proxy for metadata

* Update docs

* Support loading a mixture of built-in and PyPI packages
2019-05-03 13:43:31 -04:00