Package Details: python-exscript-git 2.6.r30.g9d5b035-3

Git Clone URL: https://aur.archlinux.org/python-exscript-git.git (read-only, click to copy)
Package Base: python-exscript-git
Description: A Python module making Telnet and SSH easy
Upstream URL: https://github.com/knipknap/exscript
Keywords: python ssh telnet
Licenses: MIT
Conflicts: python-exscript
Provides: python-exscript
Submitter: SelfRef
Maintainer: SelfRef
Last Packager: SelfRef
Votes: 0
Popularity: 0.000000
First Submitted: 2023-12-16 15:15 (UTC)
Last Updated: 2023-12-24 21:20 (UTC)

Required by (1)

Sources (1)

Latest Comments

SelfRef commented on 2023-12-24 15:50 (UTC) (edited on 2023-12-24 16:05 (UTC) by SelfRef)

@dreieck Thank you for suggestions.

I'm aware this library is using a deprecated Python setup.py install method, but it has to be updated on the upstream side first. As for now, the Makefile is using setup.py (source 1, source 2) so is this AUR script. As soon as the author will update the library, I will update this AUR.

Also, release version is already included as the last part of version number. This is the way the author is generating versions in the upstream (source). So, new commits will update the version.

Edit: I created an issue about current build system: https://github.com/knipknap/exscript/issues/233

dreieck commented on 2023-12-20 16:26 (UTC)

Please change pkgver() so that it yields a strongly monotoneously increasing version with each upstream commit, even if git tags are not updated (e.g. append .r<commit-count>.

Any, you can add =${pkgver} to the provides entry; that will ensure that versioned dependencies work (I am not aware off any right now, but people might introduce them if needed).

Regards and thanks for maintaining!

dreieck commented on 2023-12-20 16:24 (UTC) (edited on 2023-12-20 16:24 (UTC) by dreieck)

You should move away from calling setup.py and use python -m build, python -m installer together with the appropriate makedependencies instead (see Arch Linux wiki on python packages):

==> Starting build()...
/usr/lib/python3.11/site-packages/setuptools/dist.py:472: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

        ********************************************************************************
        Usage of dash-separated 'description-file' will not be supported in future
        versions. Please use the underscore name 'description_file' instead.

        By 2024-Sep-26, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.

        See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
        ********************************************************************************

!!
[...]
==> Starting package()...
/usr/lib/python3.11/site-packages/setuptools/dist.py:472: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

        ********************************************************************************
        Usage of dash-separated 'description-file' will not be supported in future
        versions. Please use the underscore name 'description_file' instead.

        By 2024-Sep-26, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.

        See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
        ********************************************************************************

!!
  opt = self.warn_dash_deprecation(opt, section)
running install
/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
[...]

Regards and thanks for the package!