Seems grip is basically unmaintained now and this AUR package has subsequently been abandoned. Note that you can install github-cli from extra and use the command gh markdown-preview to give you similar functionality.
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/python-grip.git (read-only, click to copy) |
|---|---|
| Package Base: | python-grip |
| Description: | Preview GitHub Markdown files like Readme locally before committing them |
| Upstream URL: | https://github.com/joeyespo/grip |
| Licenses: | MIT |
| Submitter: | None |
| Maintainer: | XZS |
| Last Packager: | pancho |
| Votes: | 22 |
| Popularity: | 0.000000 |
| First Submitted: | 2017-02-09 18:23 (UTC) |
| Last Updated: | 2022-04-17 05:44 (UTC) |
Seems grip is basically unmaintained now and this AUR package has subsequently been abandoned. Note that you can install github-cli from extra and use the command gh markdown-preview to give you similar functionality.
Waiting on https://github.com/joeyespo/grip/issues/380 to bump the version to 4.6.2. Thanks to @REmorin for the heads-up!
@iago-lito: sorry for the late response, I had not enabled the notifications for this package, and your comment went unread. Shouldn't happen again.
@OliverLew: thanks for reporting about the fix. I have updated the package to 4.6.1, and the fix looks good.
Let me know if problem still persists.
Happy hacking, fellas.
The package is outdated, the version 4.6.1 includes the fix.
Hello, I ran into this problem today:
$ grip
Traceback (most recent call last):
File "/usr/bin/grip", line 33, in <module>
sys.exit(load_entry_point('grip==4.6.0', 'console_scripts', 'grip')())
File "/usr/bin/grip", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/grip/__init__.py", line 19, in <module>
from .api import (
File "/usr/lib/python3.10/site-packages/grip/api.py", line 8, in <module>
from .app import Grip
File "/usr/lib/python3.10/site-packages/grip/app.py", line 30, in <module>
from .assets import GitHubAssetManager, ReadmeAssetManager
File "/usr/lib/python3.10/site-packages/grip/assets.py", line 16, in <module>
from flask import safe_join
ImportError: cannot import name 'safe_join' from 'flask' (/usr/lib/python3.10/site-packages/flask/__init__.py)
.. but it seems that the python-grip-git package does not have this problem.
@marioom
try rebuilding python-grip and python-path-and-address with makepkg
I'm getting pkg_resources.DistributionNotFound: The 'grip==4.5.2' distribution was not found and is required by the application. Any idea as to what it could be? It does work with PyPi and a venv.
@cameel:
I'm blocked by python-path-and-address not doing a release for 3.7..
Python 3.7 has just replaced 3.6 in the main repos and the package needs to be rebuilt by anyone who installed it on 3.6 (because it placed its files in /usr/lib/python3.6/site-packages/). Could you please bump pkgrel to indicate that?