Nadeshiko Manju
Nadeshiko Manju
I think this can work for basic usage, but it will still depend on some hard-code config. In some circumstances, I may create different env files for various environments, like...
> I have some other ideas. > > A famous saying goes "convention over configuration". It would be great if we could automatically read `.env.[.local]` like Vite. > > But...
So, Let me describe the detail 1. We will add a flag named `--environment` and `PDM_SCRIPT_ENVIRONMENT` env variable to identify the environment we would like to use. Default value is...
```text from packaging.markers import Marker 2 m = Marker("platform_release >= '6'") ----> 3 m.evaluate() File ~/.pyenv/versions/3.13.2/envs/video-gif-converter/lib/python3.13/site-packages/packaging/markers.py:320, in Marker.evaluate(self, environment) 317 if current_environment["extra"] is None: 318 current_environment["extra"] = "" --> 320...
> So the problem is `platform_release` expects a valid version string, while your distro has special build flag that emits a non-standard value for this field, which can't be recognized...
Uncaught SyntaxError: Unexpected token '
@besscroft 看起来是打包的文件有问题
在类 Arch 发行版上可以复现,容器下运行没有问题
因为二进制是动态加载的。。得花点时间排查下了。。
目前看起来是因为提前预编译的二进制文件,在 cast 地址的时候因为不对齐出现了 segement fault 我的建议是这个问题不太好解决,因为需要要求客户锁依赖。最好的方式是通过容器运行,保证二进制的一致性