damonlynch / showinfilemanager

Platform independent Python module to open the system file manager and select files in it
MIT License
22 stars 1 forks source link

conda-forge version 1.1.5 #10

Closed JoeZiminski closed 6 months ago

JoeZiminski commented 6 months ago

Currently the conda-forge build for the new version is failing, with error:

ModuleNotFoundError: build_manpages

I think this is because the argparse-manpage conda aversion is out of date. I have raised an issue. Just creating this issue to keep a record.

damonlynch commented 6 months ago

It looks like Conda does have the latest version of argparse-manpage. So the problem must lie elsewhere.

I was able to build an Ubuntu package of 1.1.5 (using the Ubuntu package builders), as well as the wheel & distribution tarball (using python -m build). That indicates the build should be possible.

JoeZiminski commented 6 months ago

Thanks for looking into this, I thought the conda version was out of date based on the upload date here. Did you find a later version?

I believe that when conda builds a package, it specifically pulls everything from conda and does not use another source. So the other package managers (e.g. the Ubuntu package or pypa/pip ecosystem which I think python -m build is using) may work when conda fails. I thought because conda specifically had an out of date version whereas the version of PyPI looks okay, but maybe this is not the case after all.

JoeZiminski commented 6 months ago

Hey @damonlynch in the end the version was fine and was nothing to do with the conda install, instead the requirement needed to be specified in a different place in the meta.yaml I had written for conda. All sorted now, thanks!

damonlynch commented 5 months ago

Hi @JoeZiminski I just want to let you know that the next of release of Show in File Manager has an improved build system, that will require some changes in your package. I have added some draft release notes. If you have any questions or concerns at all, please don't hesitate to ask. I'm sorry for any inconvenience this might cause you. Hopefully the changes required for packaging the next version will be minimal.