Frost Ming

Results 477 comments of Frost Ming

> silently ignoring malformed expressions. This is not true, malformed expressions will be rejected by the parser and are never caught by the evaluation.

> I should have been more specific, but I meant this repo's non-standard error in cases of "bad" version comparisons. IIUC you mean `os_name ~= "2"`, then yes it isn't...

does this work for you? https://pdm-project.org/en/latest/usage/scripts/#env_file

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 at this stage, explicitly passing...

Interesting, can you run the following code? ```python from packaging.markers import Marker m = Marker("platform_release >= '6'") m.evaluate() ```

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

@Zheaoli Now it has been fixed in `dep-logic` and released as v0.5.0. Please upgrade it within your PDM environment.

What is the difference here, the shasum are in the same form. what is not cached?

set `package-dir` config to `path/to`: https://backend.pdm-project.org/build_config/#the-src-layout, which means `path/to/foo` will be importable as `import foo` This works the same as the equivalent in setuptools: ```python setup( package_dir={"": "/path/to"} ) ```

Is there any special reason not putting it inside `src/` instead?