@loonies thanks, I added it in
Search Criteria
Package Details: mycli 1.27.2-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/mycli.git (read-only, click to copy) |
---|---|
Package Base: | mycli |
Description: | A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting |
Upstream URL: | https://github.com/dbcli/mycli |
Keywords: | cli mariadb mysql |
Licenses: | BSD |
Submitter: | aabmass |
Maintainer: | loonies |
Last Packager: | loonies |
Votes: | 46 |
Popularity: | 0.25 |
First Submitted: | 2015-08-05 15:33 (UTC) |
Last Updated: | 2024-05-17 14:55 (UTC) |
Dependencies (17)
- python (python37AUR, python311AUR, python310AUR)
- python-click
- python-cli_helpers
- python-configobj
- python-cryptography
- python-prompt_toolkit
- python-pyaes
- python-pygments
- python-pymysql
- python-pyperclip
- python-sqlglotAUR
- python-sqlparse (python-sqlparse-gitAUR)
- python-build (make)
- python-installer (python-installer-gitAUR) (make)
- python-setuptools (make)
- python-wheel (make)
- python-paramiko (python-paramiko-ngAUR) (optional) – SSH support
Required by (0)
Sources (1)
aabmass commented on 2016-02-01 16:19 (UTC)
loonies commented on 2016-01-25 13:36 (UTC)
python-crypto dependency is missing
aabmass commented on 2016-01-23 20:38 (UTC)
Sorry for the slow update. Updated to 1.5.2. The dev for mycli has prompt_toolkit up to the version in the AUR, so no issues anymore!
<deleted-account> commented on 2015-12-18 15:51 (UTC)
I did, this way:
1. download snapshot python-prompt_toolkit 0.54-1
2. edit PKGBUILD - set version to 0.46
4. then run makepkg --skipinteg
5. install generated package with pacman -U
5. install mycli
aabmass commented on 2015-12-08 01:11 (UTC)
Not really sure how to handle this, prompt_toolkit 0.54 completely breaks this package. Any ideas?
aabmass commented on 2015-12-08 00:18 (UTC)
@lenin, unfortunately, the mycli devs say that prompt-toolkit has to stay at 0.46 (https://github.com/dbcli/mycli/issues/204). Let me see what I can do, though
lenin commented on 2015-12-02 06:21 (UTC)
After installing, simply run mycli will complain this error:
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 658, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 959, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 851, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (prompt-toolkit 0.54 (/usr/lib/python3.5/site-packages), Requirement.parse('prompt-toolkit==0.46'), {'mycli'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/mycli", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3143, in <module>
@_call_aside
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3129, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3156, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 660, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 673, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 846, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'prompt-toolkit==0.46' distribution was not found and is required by mycli
aabmass commented on 2015-08-24 16:51 (UTC)
I filed requests to delete python*-mycli packages. Sorry for the confusion to the moderators! This package should NOT be deleted anymore.
aabmass commented on 2015-08-24 16:06 (UTC)
@carlgeorge yes, I actually submitted this issue on github (https://github.com/dbcli/mycli/issues/134) and the dev changed the sqlparse requirement in response.
It looks like arch's sqlparse is up to 0.1.16 and a new mycli release hit pypi today (1.4.0). I'll upgrade this package.
I also asked the dev about the prompt_toolkit==0.46 frozen dependency and he said that one can't be changed. Check out what he said, maybe you have a solution that works for everyone: https://github.com/dbcli/mycli/issues/134. The aur/python-prompt_toolkit version is currently at 0.46-1 but it's flagged out of date, so this will probably break soon.
Thank you for the advice!
<deleted-account> commented on 2015-08-20 00:44 (UTC)
I don't use this package personally, but another user mistakenly reported an error on my python-click package. mycli 1.3.0 requires sqlparse 0.1.14 _exactly_.
https://github.com/dbcli/mycli/blob/v1.3.0/setup.py#L30
The arch package python-sqlparse in community is currently at 0.1.15, so this is broken. This has already been fixed in the mycli codebase, but it was fixed after the v1.3.0 tag. Additionally, it was fixed by requiring 0.1.16 or greater, which hasn't been released on Arch yet.
https://github.com/dbcli/mycli/commit/ff5649792babaaa90cd72f76132bbd0fb16ae387
Long term fix:
* python-sqlparse is updated to 0.1.16.
* mycli releases a new version that contains the above commit, and you update your package to that version.
Short term fix:
* Create a patch that modifies the requirements in setup.py to 'sqlparse >= 0.1.15'.
* Remove the patch once mycli releases a new version.
Hope this helps, if you have further questions or need help creating the patch, just ask!
Pinned Comments
loonies commented on 2019-12-06 11:43 (UTC) (edited on 2019-12-10 07:36 (UTC) by loonies)
Prior to flagging the package out-of-date or reporting build errors please:
Do not expect AUR packages to trigger rebuild or suggest bumping "pkgrel" number. This is expected behaviour and the way Arch packing is designed to work.
For more information read the official documentation and man pages.