facebook / watchman

Watches files and records, or triggers actions, when they change.
https://facebook.github.io/watchman/
MIT License
12.57k stars 986 forks source link

Publish a new release on PyPi #1065

Open orf opened 1 year ago

orf commented 1 year ago

Hello, Is it possible to publish a new release on PyPi? There are a lot of good changes that would benefit the wider Python ecosystem who are using Watchman.

The current release is very old.

jarshwah commented 1 year ago

I've built and published a new unofficial version of pywatchman to pypi as using the Django StatReloader was really starting to get frustrating.

I've only tested this on an M1 Mac for the moment, but have requested linux and intel mac folk from work to give it a play too. I'll be happy to publish any fixes related to those platforms but do not plan to maintain this fork ongoing.

I'm hoping that demonstrating the fixes required to get this building and publishing may spur some renewed interest in the folks from facebook/meta in maintaining the library.

https://github.com/jarshwah/watchman https://pypi.org/project/pywatchman-unofficial/1.5.0/

adamchainz commented 1 year ago

See #970 for the previous conversation on the Python 31.0 compatiblity, including a response from a developer at Facebook on Twitter: https://github.com/facebook/watchman/issues/970#issuecomment-1158844586

jarshwah commented 1 year ago

I've yanked 1.5.0 because the src distribution is broken since it expects the parent watchman directory to exist. I guess this is one of the main factors for not being able to release an official version, as the parent directory check is really only there as an attempt to build on windows clients (see https://twitter.com/fanzeyi/status/1537369006713217025 that Adam alluded to above)

jonesnc commented 1 year ago

Any updates on this?

listx commented 1 year ago

Please publish a new release, because the current version 1.4.1 is broken for Python 3: https://github.com/facebook/watchman/issues/631#issuecomment-1528698244

EDIT: I didn't realize that the issues with the old release were widely known (#970), my bad.