Package Details: python-aiosql 10.1-3

Git Clone URL: https://aur.archlinux.org/python-aiosql.git (read-only, click to copy)
Package Base: python-aiosql
Description: Simple SQL in Python
Upstream URL: https://pypi.python.org/pypi/aiosql
Licenses: MIT
Conflicts: python-aiosql, python-aiosql-git
Submitter: dmfay
Maintainer: dmfay
Last Packager: dmfay
Votes: 1
Popularity: 0.003277
First Submitted: 2020-06-19 18:35 (UTC)
Last Updated: 2024-03-28 01:27 (UTC)

Latest Comments

dmfay commented on 2024-03-28 01:28 (UTC)

okay fixed and installed in a brand-new container this time, so that should be it. Installation now gives warnings about pyproject.toml lacking a tool.setuptools_scm section but I guess something else still wants it.

daniel_chesters commented on 2024-03-27 18:15 (UTC) (edited on 2024-03-27 18:17 (UTC) by daniel_chesters)

Thank you

Now I had a new error :

==> Starting build()...
* Getting build dependencies for wheel...
validate_pyproject.api.load_builtin_plugin defines `tool.distutils` schema
validate_pyproject.api.load_builtin_plugin defines `tool.setuptools` schema
running egg_info
writing aiosql.egg-info/PKG-INFO
writing dependency_links to aiosql.egg-info/dependency_links.txt
writing requirements to aiosql.egg-info/requires.txt
writing top-level names to aiosql.egg-info/top_level.txt
reading manifest file 'aiosql.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'aiosql.egg-info/SOURCES.txt'

ERROR Missing dependencies:
    setuptools-scm
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'python-aiosql-10.1-2': 

It seems the package need python-setuptools-scm to build.

EDIT : I confirm with python-setuptools-scm package, I can build and update the package.

dmfay commented on 2024-03-27 02:06 (UTC)

ah, I had setuptools installed separately. It's added to makedepends now.

daniel_chesters commented on 2024-03-26 16:43 (UTC)

I had an error on update:

==> Starting build()...
* Getting build dependencies for wheel...

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_impl.py", line 321, in _call_hook
    raise BackendUnavailable(data.get('traceback', ''))
pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 77, in _build_backend
    obj = import_module(mod_path)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'setuptools'

ERROR Backend 'setuptools.build_meta' is not available.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'python-aiosql-10.1-1': 

dreieck commented on 2024-03-25 23:16 (UTC)

You need to move away from using setup.py:

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.
        ********************************************************************************

!!

Regads!