<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mason/lua/mason-core/installer/managers/pypi.lua, branch v2.0.1</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/mason/atom/lua/mason-core/installer/managers/pypi.lua?h=v2.0.1</id>
<link rel='self' href='http://git.sudomsg.com/mirror/mason/atom/lua/mason-core/installer/managers/pypi.lua?h=v2.0.1'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/'/>
<updated>2025-05-19T04:08:48Z</updated>
<entry>
<title>fix(pypi): pass --no-user flag (#1958)</title>
<updated>2025-05-19T04:08:48Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2025-05-19T04:08:48Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=1aceba8bc158b5aaf90649077cad06744bc23ac4'/>
<id>urn:sha1:1aceba8bc158b5aaf90649077cad06744bc23ac4</id>
<content type='text'>
Fixes #1937.</content>
</entry>
<entry>
<title>refactor: turn StdioSink into a proper class</title>
<updated>2025-02-19T11:15:49Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2025-02-16T16:07:22Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=5063ba98dc220a754caf68e510fb192755b1bdf0'/>
<id>urn:sha1:5063ba98dc220a754caf68e510fb192755b1bdf0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor!: change Package API</title>
<updated>2025-02-19T11:15:48Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-11-06T23:29:18Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=6a7662760c515c74f2c37fc825776ead65d307f9'/>
<id>urn:sha1:6a7662760c515c74f2c37fc825776ead65d307f9</id>
<content type='text'>
This changes the following public APIs:

**(_breaking_) Events on the `Package` class**
The `uninstall:success` event on the `Package` class now receives an `InstallReceipt` as argument, instead of an
`InstallHandle`. This receipt is an in-memory representation of what was uninstalled. There's also a new
`uninstall:failed` event for situations where uninstallation for some
reason fails. Note: this also applies to the registry events (i.e.
`package:uninstall:success` and `package:uninstall:failed`).

---

**(_breaking_) `Package:uninstall()` is now asynchronous and receives two new arguments, similarly to `Package:install()`**
While package uninstallations remain synchronous under the hood, the public API has been changed from synchronous -&gt;
asynchronous. Users of this method are recommended to provide a callback in situations where code needs to execute after
uninstallation fully completes.

---

**(_breaking_) `Package:get_install_path()` has been removed.

---

**`Package:install()` now takes an optional callback**
This callback allows consumers to be informed whether installation was successful or not without having to go through a
different, low-level, API. See below for a comparison between the old and new APIs:
```lua
-- before
local handle = pkg:install()
handle:once("closed", function ()
    -- ...
end)

-- after
pkg:install({}, function (success, result)
    -- ...
end)
```
</content>
</entry>
<entry>
<title>fix(pypi): remove -U flag and fix log message</title>
<updated>2025-02-19T08:23:19Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-11-06T23:27:08Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=0f6fea935578039a271cdb52a5fdfcc58474bc5d'/>
<id>urn:sha1:0f6fea935578039a271cdb52a5fdfcc58474bc5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor!: remove old managers (#1497)</title>
<updated>2025-02-16T08:32:29Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-09-10T22:05:44Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=2275067747a118d6002f421cb54f28affbc0ef98'/>
<id>urn:sha1:2275067747a118d6002f421cb54f28affbc0ef98</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(pypi): prefer stock python3 if it satisfies version requirement (#1736)</title>
<updated>2024-07-09T12:46:42Z</updated>
<author>
<name>Inhyuk Cho</name>
<email>cih9088@gmail.com</email>
</author>
<published>2024-07-09T12:46:42Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=f96a31855fa8aea55599cea412fe611b85a874ed'/>
<id>urn:sha1:f96a31855fa8aea55599cea412fe611b85a874ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(pypi): allow access to system site packages by default (#1584)</title>
<updated>2024-07-07T21:47:14Z</updated>
<author>
<name>Silico_Biomancer</name>
<email>BlueDrink9@users.noreply.github.com</email>
</author>
<published>2024-07-07T21:47:14Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=2be2600f9b5a61b0c6109a3fb161b3abe75e5195'/>
<id>urn:sha1:2be2600f9b5a61b0c6109a3fb161b3abe75e5195</id>
<content type='text'>
Co-authored-by: William Boman &lt;william@redwill.se&gt;</content>
</entry>
<entry>
<title>feat(pypi): improve resolving suitable python version (#1725)</title>
<updated>2024-06-01T15:17:27Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2024-06-01T15:17:27Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=0950b15060067f752fde13a779a994f59516ce3d'/>
<id>urn:sha1:0950b15060067f752fde13a779a994f59516ce3d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(pypi): exclude python3.12 from candidate list (#1722)</title>
<updated>2024-05-31T05:37:09Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2024-05-31T05:37:09Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=f8ce8768f296717c72b3910eee7bd5ac5223cdb9'/>
<id>urn:sha1:f8ce8768f296717c72b3910eee7bd5ac5223cdb9</id>
<content type='text'>
Support for python3.12 among pypi packages is pretty poor, this limits the upper bound to python3.11 instead.</content>
</entry>
<entry>
<title>fix(pypi): fix variable shadowing (#1610)</title>
<updated>2024-01-29T06:28:15Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2024-01-29T06:28:15Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=aa550fb0649643eee89d5e64c67f81916e88a736'/>
<id>urn:sha1:aa550fb0649643eee89d5e64c67f81916e88a736</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(pypi): attempt more python3 candidates (#1608)</title>
<updated>2024-01-25T21:02:00Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2024-01-25T21:02:00Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=dcd0ea30ccfc7d47e879878d1270d6847a519181'/>
<id>urn:sha1:dcd0ea30ccfc7d47e879878d1270d6847a519181</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: don't use vim.g.python3_host_prog as a candidate for python (#1606)</title>
<updated>2024-01-21T17:47:59Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2024-01-21T17:47:59Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=bce96d2fd483e71826728c6f9ac721fc9dd7d2cf'/>
<id>urn:sha1:bce96d2fd483e71826728c6f9ac721fc9dd7d2cf</id>
<content type='text'>
This is inconsistent with how other system dependencies are resolved and is not
documented anywhere.</content>
</entry>
<entry>
<title>fix(pypi): support MSYS2 virtual environments on Windows (#1547)</title>
<updated>2023-11-08T16:43:06Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-11-08T16:43:06Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=3e2432ad0bca01fc3356389b341aa3e5e2da9fd8'/>
<id>urn:sha1:3e2432ad0bca01fc3356389b341aa3e5e2da9fd8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(installer): write more installation output to stdout (#1376)</title>
<updated>2023-06-28T17:26:23Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-06-28T17:26:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=758ac5b35e823eee74a90f855b2a66afc51ec92d'/>
<id>urn:sha1:758ac5b35e823eee74a90f855b2a66afc51ec92d</id>
<content type='text'>
This should give better insights into the installation progress.</content>
</entry>
<entry>
<title>refactor: only schedule in a.scheduler() when in fast event (#1170)</title>
<updated>2023-04-02T22:33:48Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-04-02T22:33:48Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=0114336145771ff7c528debba52c5ff21bf6f7a2'/>
<id>urn:sha1:0114336145771ff7c528debba52c5ff21bf6f7a2</id>
<content type='text'>
Explicitly schedule via `a.wait(vim.schedule)` instead.</content>
</entry>
<entry>
<title>style: enforce import order (#1092)</title>
<updated>2023-03-12T08:26:02Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-03-12T08:26:02Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=698cd0c4f10480991e665f31977650858d625af1'/>
<id>urn:sha1:698cd0c4f10480991e665f31977650858d625af1</id>
<content type='text'>
* chore(workflows): update dependencies

* style: enforce import order</content>
</entry>
<entry>
<title>feat: add github registry source capabilities (#1091)</title>
<updated>2023-03-12T07:21:15Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-03-12T07:21:15Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=a01d02ad7f680aec98a1e2ec35b04cedd307cfa8'/>
<id>urn:sha1:a01d02ad7f680aec98a1e2ec35b04cedd307cfa8</id>
<content type='text'>
</content>
</entry>
</feed>
