Package Details: semgrep-bin 1.97.0-1

Git Clone URL: https://aur.archlinux.org/semgrep-bin.git (read-only, click to copy)
Package Base: semgrep-bin
Description: Fast and syntax-aware semantic code pattern search for many languages: like grep but for code
Upstream URL: https://github.com/returntocorp/semgrep
Keywords: code grep
Licenses: LGPL2.1
Provides: semgrep
Submitter: aloxaf
Maintainer: username227 (ejedev)
Last Packager: username227
Votes: 7
Popularity: 1.01
First Submitted: 2020-05-23 02:08 (UTC)
Last Updated: 2024-11-20 05:29 (UTC)

Latest Comments

1 2 3 4 Next › Last »

username227 commented on 2024-10-29 00:53 (UTC)

@ejedev, is the problem that you cannot build opentelemetry-api without opentracing, or would you also need opentracing to actually work? If the only purpose of opentracing is to build opentelemetry, I think I can use the pypi website to make a bin package of opentelemetry-api that would install it without having to build anything, thereby eliminating the need to build opentracing which is dead anyhow.

username227 commented on 2024-10-28 23:29 (UTC)

python-opentracing has been archived. So yes, likely a 3.12 issue.

See this website: https://medium.com/opentracing/opentracing-has-been-archived-fb2848cfef67

which indicates that opentracing has been supplanted by opentelemetry. I wonder if having python-opentracing as a dependency on python-opentelemetry-api is unnecessary. If it would still work without opentracing, this could solve the problem.

jackgris commented on 2024-10-06 22:50 (UTC)

Is there anyone who solved this issue? It looks like @ejedev is right.

ejedev commented on 2024-07-31 23:46 (UTC) (edited on 2024-08-01 07:10 (UTC) by ejedev)

@username227 I believe this is actually caused by changes in Python 3.12 https://docs.python.org/3/whatsnew/3.12.html

Remove many long-deprecated unittest features: > A number of TestCase method aliases:

Deprecated alias | Method Name
assertEquals     | assertEqual()

This matches the error I see when installing python-opentracing: AttributeError: 'TestAsyncio' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

username227 commented on 2024-07-28 14:36 (UTC)

Interesting - I am not able to reproduce. I had it installed prior. I uninstalled it and dependents and rebuilt with the added dependency. I was able to successfully build the python-telemetry-api and python-semgrep.

Can you try in a clean chroot and see if that makes a difference?

ejedev commented on 2024-07-27 02:02 (UTC)

@username227 - It unfortunately does not build. There are issues with some of the dependencies (python-opentelemetry-api requires python-opentracing which seems to be broken.)

I did briefly adopt before abandoning since I was not able to solve the issue. I would be happy to co-maintain and can try and work on it more when I'm back home.

username227 commented on 2024-07-26 21:09 (UTC)

@ejedev - OK try again.

Did you briefly take ownership of this recently? Do you want to co-maintain?

ejedev commented on 2024-07-26 18:44 (UTC)

Seems the new version requires opentelemetry.

ModuleNotFoundError: No module named 'opentelemetry'

Kloudignite commented on 2024-04-28 08:41 (UTC) (edited on 2024-04-28 08:41 (UTC) by Kloudignite)

Looks like this needs to be rebuilt following the python 3.12 update because

Failed to find semgrep-core in PATH or in the semgrep package.

shulhan commented on 2023-05-10 16:18 (UTC)

Hi, thanks for the package.

I think the latest PKGBUILD missing python-pip in the makedepends.

PSA: Pre-build package is available at https://build.kilabit.info/