You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Out of the box there is this breakage:
versioningit could not find a version for the project in /usr/ports/science/py-openff-toolkit/work-py311/openff-toolkit-0.16.7!
You may be installing from a shallow clone, in which case you need to unshallow it first.
Alternatively, you may be installing from a Git archive, which is not supported by default. Install from a git+https://... URL instead.
On FreeBSD we use tarballs downloaded from GitHub which aren't git repositories.
Once version checking is patched away, the next error shows up:
* Getting build dependencies for wheel...
[01/24/25 18:32:13] WARNING pyproject.toml does not contain a tool.setuptools_scm section setuptools.py:119
/usr/local/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:104: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
warnings.warn(msg, _BetaConfiguration)
configuration error: `project.classifiers[2]` must be trove-classifier
DESCRIPTION:
`PyPI classifier <https://pypi.org/classifiers/>`_.
GIVEN VALUE:
"License :: OSI Approved :: MIT"
OFFENDING RULE: 'format'
DEFINITION:
{
"type": "string",
"format": "trove-classifier"
}
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/setuptools/build_meta.py", line 177, in get_requires_for_build_wheel
return self._get_build_requires(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/setuptools/build_meta.py", line 159, in _get_build_requires
self.run_setup()
File "/usr/local/lib/python3.11/site-packages/setuptools/build_meta.py", line 174, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 1, in <module>
File "/usr/local/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 151, in setup
dist.parse_config_files()
File "/usr/local/lib/python3.11/site-packages/setuptools/dist.py", line 868, in parse_config_files
pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
File "/usr/local/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 58, in apply_configuration
config = read_configuration(filepath, True, ignore_option_errors, dist)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 122, in read_configuration
validate(subset, filepath)
File "/usr/local/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 47, in validate
raise error from None
ValueError: invalid pyproject.toml config: `project.classifiers[2]`
ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
*** Error code 1
To Reproduce
build using Python's 'build' module.
Computing environment (please complete the following information):
Operating system: FreeBSD 14.2
Output of running conda list: n/a: conda isn't used.
Additional context
I am unable to create the FreeBSD port due to the above issues.
The text was updated successfully, but these errors were encountered:
Describe the bug
Out of the box there is this breakage:
On FreeBSD we use tarballs downloaded from GitHub which aren't git repositories.
Once version checking is patched away, the next error shows up:
To Reproduce
build using Python's 'build' module.
Computing environment (please complete the following information):
conda list
: n/a: conda isn't used.Additional context
I am unable to create the FreeBSD port due to the above issues.
The text was updated successfully, but these errors were encountered: