Skip to content

Installation failed #901

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
alexprogi opened this issue Mar 25, 2022 · 1 comment
Closed

Installation failed #901

alexprogi opened this issue Mar 25, 2022 · 1 comment

Comments

@alexprogi
Copy link

  • asyncpg version: 0.25.0
  • PostgreSQL version: 13
  • Do you use a PostgreSQL SaaS? If so, which? Can you reproduce
    the issue with a local PostgreSQL install?
    : N/A
  • Python version: 3.18.0
  • Platform: ubuntu:20.04
  • Do you use pgbouncer?: No
  • Did you install asyncpg with pip?: Yes
  • If you built asyncpg locally, which version of Cython did you use?: N/A
  • Can the issue be reproduced under both asyncio and
    uvloop?
    : N/A

Here is the output :

#15 1.469 Collecting asyncpg
#15 1.494 Downloading asyncpg-0.25.0.tar.gz (804 kB)
#15 1.601 Installing build dependencies: started
#15 3.085 Installing build dependencies: finished with status 'done'
#15 3.086 Getting requirements to build wheel: started
#15 3.431 Getting requirements to build wheel: finished with status 'error'
#15 3.432 ERROR: Command errored out with exit status 1:
#15 3.432 command: /usr/bin/python3 /tmp/tmpiabqpqe9 get_requires_for_build_wheel /tmp/tmpj1ld5qdg
#15 3.432 cwd: /tmp/pip-install-dihggwe7/asyncpg
#15 3.432 Complete output (1007 lines):
#15 3.432 /tmp/pip-build-env-1ua61ucd/overlay/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py:100: ExperimentalProjectMetadata: Support for project metadata in pyproject.toml is still experimental and may be removed (or change) in future releases.
#15 3.432 warnings.warn(msg, ExperimentalProjectMetadata)
#15 3.432 configuration error: project must contain ['name'] properties
#15 3.432 DESCRIPTION:
#15 3.432 Data structure for the project table inside pyproject.toml (as
#15 3.432 initially defined in :pep:621)
#15 3.432
#15 3.432 GIVEN VALUE:
#15 3.432 {
#15 3.432 "requires-python": ">=3.6"
#15 3.432 }
#15 3.432
#15 3.432 OFFENDING RULE: 'required'
#15 3.432
#15 3.432 DEFINITION:
#15 3.432 {
#15 3.432 "$schema": "http://json-schema.org/draft-07/schema",
#15 3.432 "$id": "https://packaging.python.org/en/latest/specifications/declaring-project-metadata/",
#15 3.432 "title": "Package metadata stored in the project table",
#15 3.432 "type": "object",
#15 3.432 "properties": {
#15 3.432 "name": {
#15 3.432 "type": "string",
#15 3.432 "description": "The name (primary identifier) of the project. MUST be statically defined.",
#15 3.432 "format": "pep508-identifier"
#15 3.432 },
#15 3.432 "version": {
#15 3.432 "type": "string",
#15 3.432 "description": "The version of the project as supported by :pep:440.",
#15 3.432 "format": "pep440"
#15 3.432 },
#15 3.432 "description": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "The summary description of the project", #15 3.432 "<https://packaging.python.org/specifications/core-metadata/#summary>
"
#15 3.432 ]
#15 3.432 },
#15 3.432 "readme": {
#15 3.432 "$$description": [
#15 3.432 "Full/detailed description of the project in the form of a README", #15 3.432 "<https://www.python.org/dev/peps/pep-0621/#readme>
",
#15 3.432 "with meaning similar to the one defined in core metadata's Description", #15 3.432 "<https://packaging.python.org/specifications/core-metadata/#description>"
#15 3.432 ],
#15 3.432 "oneOf": [
#15 3.432 {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "Relative path to a text file (UTF-8) containing the full description",
#15 3.432 "of the project. If the file path ends in case-insensitive .md or",
#15 3.432 ".rst suffixes, then the content-type is respectively",
#15 3.432 "text/markdown or text/x-rst"
#15 3.432 ]
#15 3.432 },
#15 3.432 {
#15 3.432 "type": "object",
#15 3.432 "allOf": [
#15 3.432 {
#15 3.432 "anyOf": [
#15 3.432 {
#15 3.432 "properties": {
#15 3.432 "file": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "Relative path to a text file containing the full description",
#15 3.432 "of the project."
#15 3.432 ]
#15 3.432 }
#15 3.432 },
#15 3.432 "required": [
#15 3.432 "file"
#15 3.432 ]
#15 3.432 },
#15 3.432 {
#15 3.432 "properties": {
#15 3.432 "text": {
#15 3.432 "type": "string",
#15 3.432 "description": "Full text describing the project."
#15 3.432 }
#15 3.432 },
#15 3.432 "required": [
#15 3.432 "text"
#15 3.432 ]
#15 3.432 }
#15 3.432 ]
#15 3.432 },
#15 3.432 {
#15 3.432 "properties": {
#15 3.432 "content-type": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "Content-type (:rfc:1341) of the full description",
#15 3.432 "(e.g. text/markdown). The charset parameter is assumed",
#15 3.432 "UTF-8 when not present."
#15 3.432 ],
#15 3.432 "$comment": "TODO: add regex pattern or format?"
#15 3.432 }
#15 3.432 },
#15 3.432 "required": [
#15 3.432 "content-type"
#15 3.432 ]
#15 3.432 }
#15 3.432 ]
#15 3.432 }
#15 3.432 ]
#15 3.432 },
#15 3.432 "requires-python": {
#15 3.432 "type": "string",
#15 3.432 "format": "pep508-versionspec",
#15 3.432 "$$description": [
#15 3.432 "The Python version requirements of the project", #15 3.432 "<https://packaging.python.org/specifications/core-metadata/#requires-python>
."
#15 3.432 ]
#15 3.432 },
#15 3.432 "license": {
#15 3.432 "description": "Project license <https://www.python.org/dev/peps/pep-0621/#license>.",
#15 3.432 "oneOf": [
#15 3.432 {
#15 3.432 "properties": {
#15 3.432 "file": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "Relative path to the file (UTF-8) which contains the license for the",
#15 3.432 "project."
#15 3.432 ]
#15 3.432 }
#15 3.432 },
#15 3.432 "required": [
#15 3.432 "file"
#15 3.432 ]
#15 3.432 },
#15 3.432 {
#15 3.432 "properties": {
#15 3.432 "text": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "The license of the project whose meaning is that of the",
#15 3.432 "License field from the core metadata", #15 3.432 "<https://packaging.python.org/specifications/core-metadata/#license>
."
#15 3.432 ]
#15 3.432 }
#15 3.432 },
#15 3.432 "required": [
#15 3.432 "text"
#15 3.432 ]
#15 3.432 }
#15 3.432 ]
#15 3.432 },
#15 3.432 "authors": {
#15 3.432 "type": "array",
#15 3.432 "items": {
#15 3.432 "$id": "#/definitions/author",
#15 3.432 "title": "Author or Maintainer",
#15 3.432 "$comment": "https://www.python.org/dev/peps/pep-0621/#authors-maintainers",
#15 3.432 "type": "object",
#15 3.432 "properties": {
#15 3.432 "name": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "MUST be a valid email name, i.e. whatever can be put as a name, before an",
#15 3.432 "email, in :rfc:822."
#15 3.432 ]
#15 3.432 },
#15 3.432 "email": {
#15 3.432 "type": "string",
#15 3.432 "format": "idn-email",
#15 3.432 "description": "MUST be a valid email address"
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "$$description": [
#15 3.432 "The people or organizations considered to be the 'authors' of the project.",
#15 3.432 "The exact meaning is open to interpretation (e.g. original or primary authors,",
#15 3.432 "current maintainers, or owners of the package)."
#15 3.432 ]
#15 3.432 },
#15 3.432 "maintainers": {
#15 3.432 "type": "array",
#15 3.432 "items": {
#15 3.432 "$id": "#/definitions/author",
#15 3.432 "title": "Author or Maintainer",
#15 3.432 "$comment": "https://www.python.org/dev/peps/pep-0621/#authors-maintainers",
#15 3.432 "type": "object",
#15 3.432 "properties": {
#15 3.432 "name": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "MUST be a valid email name, i.e. whatever can be put as a name, before an",
#15 3.432 "email, in :rfc:822."
#15 3.432 ]
#15 3.432 },
#15 3.432 "email": {
#15 3.432 "type": "string",
#15 3.432 "format": "idn-email",
#15 3.432 "description": "MUST be a valid email address"
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "$$description": [
#15 3.432 "The people or organizations considered to be the 'maintainers' of the project.",
#15 3.432 "Similarly to authors, the exact meaning is open to interpretation."
#15 3.432 ]
#15 3.432 },
#15 3.432 "keywords": {
#15 3.432 "type": "array",
#15 3.432 "items": {
#15 3.432 "type": "string"
#15 3.432 },
#15 3.432 "description": "List of keywords to assist searching for the distribution in a larger catalog."
#15 3.432 },
#15 3.432 "classifiers": {
#15 3.432 "type": "array",
#15 3.432 "items": {
#15 3.432 "type": "string",
#15 3.432 "format": "trove-classifier",
#15 3.432 "description": "PyPI classifier <https://pypi.org/classifiers/>."
#15 3.432 },
#15 3.432 "$$description": [
#15 3.432 "Trove classifiers <https://pypi.org/classifiers/>
",
#15 3.432 "which apply to the project."
#15 3.432 ]
#15 3.432 },
#15 3.432 "urls": {
#15 3.432 "type": "object",
#15 3.432 "description": "URLs associated with the project in the form label => value.",
#15 3.432 "additionalProperties": false,
#15 3.432 "patternProperties": {
#15 3.432 "^.+$": {
#15 3.432 "type": "string",
#15 3.432 "format": "url"
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "scripts": {
#15 3.432 "$id": "#/definitions/entry-point-group",
#15 3.432 "title": "Entry-points",
#15 3.432 "type": "object",
#15 3.432 "$$description": [
#15 3.432 "Entry-points are grouped together to indicate what sort of capabilities they",
#15 3.432 "provide.",
#15 3.432 "See the packaging guides", #15 3.432 "<https://packaging.python.org/specifications/entry-points/>",
#15 3.432 "and setuptools docs", #15 3.432 "<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>
",
#15 3.432 "for more information."
#15 3.432 ],
#15 3.432 "propertyNames": {
#15 3.432 "format": "python-entrypoint-name"
#15 3.432 },
#15 3.432 "additionalProperties": false,
#15 3.432 "patternProperties": {
#15 3.432 "^.+$": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "Reference to a Python object. It is either in the form",
#15 3.432 "importable.module, or importable.module:object.attr."
#15 3.432 ],
#15 3.432 "format": "python-entrypoint-reference",
#15 3.432 "$comment": "https://packaging.python.org/specifications/entry-points/"
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "gui-scripts": {
#15 3.432 "$id": "#/definitions/entry-point-group",
#15 3.432 "title": "Entry-points",
#15 3.432 "type": "object",
#15 3.432 "$$description": [
#15 3.432 "Entry-points are grouped together to indicate what sort of capabilities they",
#15 3.432 "provide.",
#15 3.432 "See the packaging guides", #15 3.432 "<https://packaging.python.org/specifications/entry-points/>",
#15 3.432 "and setuptools docs", #15 3.432 "<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>
",
#15 3.432 "for more information."
#15 3.432 ],
#15 3.432 "propertyNames": {
#15 3.432 "format": "python-entrypoint-name"
#15 3.432 },
#15 3.432 "additionalProperties": false,
#15 3.432 "patternProperties": {
#15 3.432 "^.+$": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "Reference to a Python object. It is either in the form",
#15 3.432 "importable.module, or importable.module:object.attr."
#15 3.432 ],
#15 3.432 "format": "python-entrypoint-reference",
#15 3.432 "$comment": "https://packaging.python.org/specifications/entry-points/"
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "entry-points": {
#15 3.432 "$$description": [
#15 3.432 "Instruct the installer to expose the given modules/functions via",
#15 3.432 "entry-point discovery mechanism (useful for plugins).",
#15 3.432 "More information available in the Python packaging guide", #15 3.432 "<https://packaging.python.org/specifications/entry-points/>."
#15 3.432 ],
#15 3.432 "propertyNames": {
#15 3.432 "format": "python-entrypoint-group"
#15 3.432 },
#15 3.432 "additionalProperties": false,
#15 3.432 "patternProperties": {
#15 3.432 "^.+$": {
#15 3.432 "$id": "#/definitions/entry-point-group",
#15 3.432 "title": "Entry-points",
#15 3.432 "type": "object",
#15 3.432 "$$description": [
#15 3.432 "Entry-points are grouped together to indicate what sort of capabilities they",
#15 3.432 "provide.",
#15 3.432 "See the packaging guides", #15 3.432 "<https://packaging.python.org/specifications/entry-points/>
",
#15 3.432 "and setuptools docs", #15 3.432 "<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>",
#15 3.432 "for more information."
#15 3.432 ],
#15 3.432 "propertyNames": {
#15 3.432 "format": "python-entrypoint-name"
#15 3.432 },
#15 3.432 "additionalProperties": false,
#15 3.432 "patternProperties": {
#15 3.432 "^.+$": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "Reference to a Python object. It is either in the form",
#15 3.432 "importable.module, or importable.module:object.attr."
#15 3.432 ],
#15 3.432 "format": "python-entrypoint-reference",
#15 3.432 "$comment": "https://packaging.python.org/specifications/entry-points/"
#15 3.432 }
#15 3.432 }
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "dependencies": {
#15 3.432 "type": "array",
#15 3.432 "description": "Project (mandatory) dependencies.",
#15 3.432 "items": {
#15 3.432 "$id": "#/definitions/dependency",
#15 3.432 "title": "Dependency",
#15 3.432 "type": "string",
#15 3.432 "description": "Project dependency specification according to PEP 508",
#15 3.432 "format": "pep508"
#15 3.432 }
#15 3.432 },
#15 3.432 "optional-dependencies": {
#15 3.432 "type": "object",
#15 3.432 "description": "Optional dependency for the project",
#15 3.432 "propertyNames": {
#15 3.432 "format": "pep508-identifier"
#15 3.432 },
#15 3.432 "additionalProperties": false,
#15 3.432 "patternProperties": {
#15 3.432 "^.+$": {
#15 3.432 "type": "array",
#15 3.432 "items": {
#15 3.432 "$id": "#/definitions/dependency",
#15 3.432 "title": "Dependency",
#15 3.432 "type": "string",
#15 3.432 "description": "Project dependency specification according to PEP 508",
#15 3.432 "format": "pep508"
#15 3.432 }
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "dynamic": {
#15 3.432 "type": "array",
#15 3.432 "$$description": [
#15 3.432 "Specifies which fields are intentionally unspecified and expected to be",
#15 3.432 "dynamically provided by build tools"
#15 3.432 ],
#15 3.432 "items": {
#15 3.432 "enum": [
#15 3.432 "version",
#15 3.432 "description",
#15 3.432 "readme",
#15 3.432 "requires-python",
#15 3.432 "license",
#15 3.432 "authors",
#15 3.432 "maintainers",
#15 3.432 "keywords",
#15 3.432 "classifiers",
#15 3.432 "urls",
#15 3.432 "scripts",
#15 3.432 "gui-scripts",
#15 3.432 "entry-points",
#15 3.432 "dependencies",
#15 3.432 "optional-dependencies"
#15 3.432 ]
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "required": [
#15 3.432 "name"
#15 3.432 ],
#15 3.432 "additionalProperties": false,
#15 3.432 "if": {
#15 3.432 "not": {
#15 3.432 "required": [
#15 3.432 "version"
#15 3.432 ],
#15 3.432 "$$description": [
#15 3.432 "version is statically defined in the version field"
#15 3.432 ]
#15 3.432 },
#15 3.432 "$$comment": [
#15 3.432 "According to :pep:621:",
#15 3.432 " If the core metadata specification lists a field as "Required", then",
#15 3.432 " the metadata MUST specify the field statically or list it in dynamic",
#15 3.432 "In turn, core metadata
defines:",
#15 3.432 " The required fields are: Metadata-Version, Name, Version.",
#15 3.432 " All the other fields are optional.",
#15 3.432 "Since Metadata-Version is defined by the build back-end, name and",
#15 3.432 "version are the only mandatory information in pyproject.toml.",
#15 3.432 ".. core metadata: https://packaging.python.org/specifications/core-metadata/"
#15 3.432 ]
#15 3.432 },
#15 3.432 "then": {
#15 3.432 "properties": {
#15 3.432 "dynamic": {
#15 3.432 "contains": {
#15 3.432 "const": "version"
#15 3.432 },
#15 3.432 "$$description": [
#15 3.432 "version should be listed in dynamic"
#15 3.432 ]
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "definitions": {
#15 3.432 "author": {
#15 3.432 "$id": "#/definitions/author",
#15 3.432 "title": "Author or Maintainer",
#15 3.432 "$comment": "https://www.python.org/dev/peps/pep-0621/#authors-maintainers",
#15 3.432 "type": "object",
#15 3.432 "properties": {
#15 3.432 "name": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "MUST be a valid email name, i.e. whatever can be put as a name, before an",
#15 3.432 "email, in :rfc:822."
#15 3.432 ]
#15 3.432 },
#15 3.432 "email": {
#15 3.432 "type": "string",
#15 3.432 "format": "idn-email",
#15 3.432 "description": "MUST be a valid email address"
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "entry-point-group": {
#15 3.432 "$id": "#/definitions/entry-point-group",
#15 3.432 "title": "Entry-points",
#15 3.432 "type": "object",
#15 3.432 "$$description": [
#15 3.432 "Entry-points are grouped together to indicate what sort of capabilities they",
#15 3.432 "provide.",
#15 3.432 "See the packaging guides", #15 3.432 "<https://packaging.python.org/specifications/entry-points/>
",
#15 3.432 "and setuptools docs", #15 3.432 "<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>",
#15 3.432 "for more information."
#15 3.432 ],
#15 3.432 "propertyNames": {
#15 3.432 "format": "python-entrypoint-name"
#15 3.432 },
#15 3.432 "additionalProperties": false,
#15 3.432 "patternProperties": {
#15 3.432 "^.+$": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "Reference to a Python object. It is either in the form",
#15 3.432 "importable.module, or importable.module:object.attr."
#15 3.432 ],
#15 3.432 "format": "python-entrypoint-reference",
#15 3.432 "$comment": "https://packaging.python.org/specifications/entry-points/"
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "dependency": {
#15 3.432 "$id": "#/definitions/dependency",
#15 3.432 "title": "Dependency",
#15 3.432 "type": "string",
#15 3.432 "description": "Project dependency specification according to PEP 508",
#15 3.432 "format": "pep508"
#15 3.432 }
#15 3.432 }
#15 3.432 }
#15 3.432 ignored error: ValueError - invalid pyproject.toml config: project
#15 3.432 /tmp/pip-build-env-1ua61ucd/overlay/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py:100: ExperimentalProjectMetadata: Support for project metadata in pyproject.toml is still experimental and may be removed (or change) in future releases.
#15 3.432 warnings.warn(msg, ExperimentalProjectMetadata)
#15 3.432 configuration error: project must contain ['name'] properties
#15 3.432 DESCRIPTION:
#15 3.432 Data structure for the project table inside pyproject.toml (as
#15 3.432 initially defined in :pep:621)
#15 3.432
#15 3.432 GIVEN VALUE:
#15 3.432 {
#15 3.432 "requires-python": ">=3.6"
#15 3.432 }
#15 3.432
#15 3.432 OFFENDING RULE: 'required'
#15 3.432
#15 3.432 DEFINITION:
#15 3.432 {
#15 3.432 "$schema": "http://json-schema.org/draft-07/schema",
#15 3.432 "$id": "https://packaging.python.org/en/latest/specifications/declaring-project-metadata/",
#15 3.432 "title": "Package metadata stored in the project table",
#15 3.432 "type": "object",
#15 3.432 "properties": {
#15 3.432 "name": {
#15 3.432 "type": "string",
#15 3.432 "description": "The name (primary identifier) of the project. MUST be statically defined.",
#15 3.432 "format": "pep508-identifier"
#15 3.432 },
#15 3.432 "version": {
#15 3.432 "type": "string",
#15 3.432 "description": "The version of the project as supported by :pep:440.",
#15 3.432 "format": "pep440"
#15 3.432 },
#15 3.432 "description": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "The summary description of the project", #15 3.432 "<https://packaging.python.org/specifications/core-metadata/#summary>
"
#15 3.432 ]
#15 3.432 },
#15 3.432 "readme": {
#15 3.432 "$$description": [
#15 3.432 "Full/detailed description of the project in the form of a README", #15 3.432 "<https://www.python.org/dev/peps/pep-0621/#readme>
",
#15 3.432 "with meaning similar to the one defined in core metadata's Description", #15 3.432 "<https://packaging.python.org/specifications/core-metadata/#description>
"
#15 3.432 ],
#15 3.432 "oneOf": [
#15 3.432 {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "Relative path to a text file (UTF-8) containing the full description",
#15 3.432 "of the project. If the file path ends in case-insensitive .md or",
#15 3.432 ".rst suffixes, then the content-type is respectively",
#15 3.432 "text/markdown or text/x-rst"
#15 3.432 ]
#15 3.432 },
#15 3.432 {
#15 3.432 "type": "object",
#15 3.432 "allOf": [
#15 3.432 {
#15 3.432 "anyOf": [
#15 3.432 {
#15 3.432 "properties": {
#15 3.432 "file": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "Relative path to a text file containing the full description",
#15 3.432 "of the project."
#15 3.432 ]
#15 3.432 }
#15 3.432 },
#15 3.432 "required": [
#15 3.432 "file"
#15 3.432 ]
#15 3.432 },
#15 3.432 {
#15 3.432 "properties": {
#15 3.432 "text": {
#15 3.432 "type": "string",
#15 3.432 "description": "Full text describing the project."
#15 3.432 }
#15 3.432 },
#15 3.432 "required": [
#15 3.432 "text"
#15 3.432 ]
#15 3.432 }
#15 3.432 ]
#15 3.432 },
#15 3.432 {
#15 3.432 "properties": {
#15 3.432 "content-type": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "Content-type (:rfc:1341) of the full description",
#15 3.432 "(e.g. text/markdown). The charset parameter is assumed",
#15 3.432 "UTF-8 when not present."
#15 3.432 ],
#15 3.432 "$comment": "TODO: add regex pattern or format?"
#15 3.432 }
#15 3.432 },
#15 3.432 "required": [
#15 3.432 "content-type"
#15 3.432 ]
#15 3.432 }
#15 3.432 ]
#15 3.432 }
#15 3.432 ]
#15 3.432 },
#15 3.432 "requires-python": {
#15 3.432 "type": "string",
#15 3.432 "format": "pep508-versionspec",
#15 3.432 "$$description": [
#15 3.432 "The Python version requirements of the project", #15 3.432 "<https://packaging.python.org/specifications/core-metadata/#requires-python>."
#15 3.432 ]
#15 3.432 },
#15 3.432 "license": {
#15 3.432 "description": "Project license <https://www.python.org/dev/peps/pep-0621/#license>
.",
#15 3.432 "oneOf": [
#15 3.432 {
#15 3.432 "properties": {
#15 3.432 "file": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "Relative path to the file (UTF-8) which contains the license for the",
#15 3.432 "project."
#15 3.432 ]
#15 3.432 }
#15 3.432 },
#15 3.432 "required": [
#15 3.432 "file"
#15 3.432 ]
#15 3.432 },
#15 3.432 {
#15 3.432 "properties": {
#15 3.432 "text": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "The license of the project whose meaning is that of the",
#15 3.432 "License field from the core metadata", #15 3.432 "<https://packaging.python.org/specifications/core-metadata/#license>."
#15 3.432 ]
#15 3.432 }
#15 3.432 },
#15 3.432 "required": [
#15 3.432 "text"
#15 3.432 ]
#15 3.432 }
#15 3.432 ]
#15 3.432 },
#15 3.432 "authors": {
#15 3.432 "type": "array",
#15 3.432 "items": {
#15 3.432 "$id": "#/definitions/author",
#15 3.432 "title": "Author or Maintainer",
#15 3.432 "$comment": "https://www.python.org/dev/peps/pep-0621/#authors-maintainers",
#15 3.432 "type": "object",
#15 3.432 "properties": {
#15 3.432 "name": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "MUST be a valid email name, i.e. whatever can be put as a name, before an",
#15 3.432 "email, in :rfc:822."
#15 3.432 ]
#15 3.432 },
#15 3.432 "email": {
#15 3.432 "type": "string",
#15 3.432 "format": "idn-email",
#15 3.432 "description": "MUST be a valid email address"
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "$$description": [
#15 3.432 "The people or organizations considered to be the 'authors' of the project.",
#15 3.432 "The exact meaning is open to interpretation (e.g. original or primary authors,",
#15 3.432 "current maintainers, or owners of the package)."
#15 3.432 ]
#15 3.432 },
#15 3.432 "maintainers": {
#15 3.432 "type": "array",
#15 3.432 "items": {
#15 3.432 "$id": "#/definitions/author",
#15 3.432 "title": "Author or Maintainer",
#15 3.432 "$comment": "https://www.python.org/dev/peps/pep-0621/#authors-maintainers",
#15 3.432 "type": "object",
#15 3.432 "properties": {
#15 3.432 "name": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "MUST be a valid email name, i.e. whatever can be put as a name, before an",
#15 3.432 "email, in :rfc:822."
#15 3.432 ]
#15 3.432 },
#15 3.432 "email": {
#15 3.432 "type": "string",
#15 3.432 "format": "idn-email",
#15 3.432 "description": "MUST be a valid email address"
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "$$description": [
#15 3.432 "The people or organizations considered to be the 'maintainers' of the project.",
#15 3.432 "Similarly to authors, the exact meaning is open to interpretation."
#15 3.432 ]
#15 3.432 },
#15 3.432 "keywords": {
#15 3.432 "type": "array",
#15 3.432 "items": {
#15 3.432 "type": "string"
#15 3.432 },
#15 3.432 "description": "List of keywords to assist searching for the distribution in a larger catalog."
#15 3.432 },
#15 3.432 "classifiers": {
#15 3.432 "type": "array",
#15 3.432 "items": {
#15 3.432 "type": "string",
#15 3.432 "format": "trove-classifier",
#15 3.432 "description": "PyPI classifier <https://pypi.org/classifiers/>
."
#15 3.432 },
#15 3.432 "$$description": [
#15 3.432 "Trove classifiers <https://pypi.org/classifiers/>",
#15 3.432 "which apply to the project."
#15 3.432 ]
#15 3.432 },
#15 3.432 "urls": {
#15 3.432 "type": "object",
#15 3.432 "description": "URLs associated with the project in the form label => value.",
#15 3.432 "additionalProperties": false,
#15 3.432 "patternProperties": {
#15 3.432 "^.+$": {
#15 3.432 "type": "string",
#15 3.432 "format": "url"
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "scripts": {
#15 3.432 "$id": "#/definitions/entry-point-group",
#15 3.432 "title": "Entry-points",
#15 3.432 "type": "object",
#15 3.432 "$$description": [
#15 3.432 "Entry-points are grouped together to indicate what sort of capabilities they",
#15 3.432 "provide.",
#15 3.432 "See the packaging guides", #15 3.432 "<https://packaging.python.org/specifications/entry-points/>
",
#15 3.432 "and setuptools docs", #15 3.432 "<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>",
#15 3.432 "for more information."
#15 3.432 ],
#15 3.432 "propertyNames": {
#15 3.432 "format": "python-entrypoint-name"
#15 3.432 },
#15 3.432 "additionalProperties": false,
#15 3.432 "patternProperties": {
#15 3.432 "^.+$": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "Reference to a Python object. It is either in the form",
#15 3.432 "importable.module, or importable.module:object.attr."
#15 3.432 ],
#15 3.432 "format": "python-entrypoint-reference",
#15 3.432 "$comment": "https://packaging.python.org/specifications/entry-points/"
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "gui-scripts": {
#15 3.432 "$id": "#/definitions/entry-point-group",
#15 3.432 "title": "Entry-points",
#15 3.432 "type": "object",
#15 3.432 "$$description": [
#15 3.432 "Entry-points are grouped together to indicate what sort of capabilities they",
#15 3.432 "provide.",
#15 3.432 "See the packaging guides", #15 3.432 "<https://packaging.python.org/specifications/entry-points/>
",
#15 3.432 "and setuptools docs", #15 3.432 "<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>",
#15 3.432 "for more information."
#15 3.432 ],
#15 3.432 "propertyNames": {
#15 3.432 "format": "python-entrypoint-name"
#15 3.432 },
#15 3.432 "additionalProperties": false,
#15 3.432 "patternProperties": {
#15 3.432 "^.+$": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "Reference to a Python object. It is either in the form",
#15 3.432 "importable.module, or importable.module:object.attr."
#15 3.432 ],
#15 3.432 "format": "python-entrypoint-reference",
#15 3.432 "$comment": "https://packaging.python.org/specifications/entry-points/"
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "entry-points": {
#15 3.432 "$$description": [
#15 3.432 "Instruct the installer to expose the given modules/functions via",
#15 3.432 "entry-point discovery mechanism (useful for plugins).",
#15 3.432 "More information available in the Python packaging guide", #15 3.432 "<https://packaging.python.org/specifications/entry-points/>
."
#15 3.432 ],
#15 3.432 "propertyNames": {
#15 3.432 "format": "python-entrypoint-group"
#15 3.432 },
#15 3.432 "additionalProperties": false,
#15 3.432 "patternProperties": {
#15 3.432 "^.+$": {
#15 3.432 "$id": "#/definitions/entry-point-group",
#15 3.432 "title": "Entry-points",
#15 3.432 "type": "object",
#15 3.432 "$$description": [
#15 3.432 "Entry-points are grouped together to indicate what sort of capabilities they",
#15 3.432 "provide.",
#15 3.432 "See the packaging guides", #15 3.432 "<https://packaging.python.org/specifications/entry-points/>",
#15 3.432 "and setuptools docs", #15 3.432 "<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>
",
#15 3.432 "for more information."
#15 3.432 ],
#15 3.432 "propertyNames": {
#15 3.432 "format": "python-entrypoint-name"
#15 3.432 },
#15 3.432 "additionalProperties": false,
#15 3.432 "patternProperties": {
#15 3.432 "^.+$": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "Reference to a Python object. It is either in the form",
#15 3.432 "importable.module, or importable.module:object.attr."
#15 3.432 ],
#15 3.432 "format": "python-entrypoint-reference",
#15 3.432 "$comment": "https://packaging.python.org/specifications/entry-points/"
#15 3.432 }
#15 3.432 }
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "dependencies": {
#15 3.432 "type": "array",
#15 3.432 "description": "Project (mandatory) dependencies.",
#15 3.432 "items": {
#15 3.432 "$id": "#/definitions/dependency",
#15 3.432 "title": "Dependency",
#15 3.432 "type": "string",
#15 3.432 "description": "Project dependency specification according to PEP 508",
#15 3.432 "format": "pep508"
#15 3.432 }
#15 3.432 },
#15 3.432 "optional-dependencies": {
#15 3.432 "type": "object",
#15 3.432 "description": "Optional dependency for the project",
#15 3.432 "propertyNames": {
#15 3.432 "format": "pep508-identifier"
#15 3.432 },
#15 3.432 "additionalProperties": false,
#15 3.432 "patternProperties": {
#15 3.432 "^.+$": {
#15 3.432 "type": "array",
#15 3.432 "items": {
#15 3.432 "$id": "#/definitions/dependency",
#15 3.432 "title": "Dependency",
#15 3.432 "type": "string",
#15 3.432 "description": "Project dependency specification according to PEP 508",
#15 3.432 "format": "pep508"
#15 3.432 }
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "dynamic": {
#15 3.432 "type": "array",
#15 3.432 "$$description": [
#15 3.432 "Specifies which fields are intentionally unspecified and expected to be",
#15 3.432 "dynamically provided by build tools"
#15 3.432 ],
#15 3.432 "items": {
#15 3.432 "enum": [
#15 3.432 "version",
#15 3.432 "description",
#15 3.432 "readme",
#15 3.432 "requires-python",
#15 3.432 "license",
#15 3.432 "authors",
#15 3.432 "maintainers",
#15 3.432 "keywords",
#15 3.432 "classifiers",
#15 3.432 "urls",
#15 3.432 "scripts",
#15 3.432 "gui-scripts",
#15 3.432 "entry-points",
#15 3.432 "dependencies",
#15 3.432 "optional-dependencies"
#15 3.432 ]
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "required": [
#15 3.432 "name"
#15 3.432 ],
#15 3.432 "additionalProperties": false,
#15 3.432 "if": {
#15 3.432 "not": {
#15 3.432 "required": [
#15 3.432 "version"
#15 3.432 ],
#15 3.432 "$$description": [
#15 3.432 "version is statically defined in the version field"
#15 3.432 ]
#15 3.432 },
#15 3.432 "$$comment": [
#15 3.432 "According to :pep:621:",
#15 3.432 " If the core metadata specification lists a field as "Required", then",
#15 3.432 " the metadata MUST specify the field statically or list it in dynamic",
#15 3.432 "In turn, core metadata_ defines:",
#15 3.432 " The required fields are: Metadata-Version, Name, Version.",
#15 3.432 " All the other fields are optional.",
#15 3.432 "Since Metadata-Version is defined by the build back-end, name and",
#15 3.432 "version are the only mandatory information in pyproject.toml.",
#15 3.432 ".. core metadata: https://packaging.python.org/specifications/core-metadata/"
#15 3.432 ]
#15 3.432 },
#15 3.432 "then": {
#15 3.432 "properties": {
#15 3.432 "dynamic": {
#15 3.432 "contains": {
#15 3.432 "const": "version"
#15 3.432 },
#15 3.432 "$$description": [
#15 3.432 "version should be listed in dynamic"
#15 3.432 ]
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "definitions": {
#15 3.432 "author": {
#15 3.432 "$id": "#/definitions/author",
#15 3.432 "title": "Author or Maintainer",
#15 3.432 "$comment": "https://www.python.org/dev/peps/pep-0621/#authors-maintainers",
#15 3.432 "type": "object",
#15 3.432 "properties": {
#15 3.432 "name": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "MUST be a valid email name, i.e. whatever can be put as a name, before an",
#15 3.432 "email, in :rfc:822."
#15 3.432 ]
#15 3.432 },
#15 3.432 "email": {
#15 3.432 "type": "string",
#15 3.432 "format": "idn-email",
#15 3.432 "description": "MUST be a valid email address"
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "entry-point-group": {
#15 3.432 "$id": "#/definitions/entry-point-group",
#15 3.432 "title": "Entry-points",
#15 3.432 "type": "object",
#15 3.432 "$$description": [
#15 3.432 "Entry-points are grouped together to indicate what sort of capabilities they",
#15 3.432 "provide.",
#15 3.432 "See the packaging guides", #15 3.432 "<https://packaging.python.org/specifications/entry-points/>
",
#15 3.432 "and setuptools docs", #15 3.432 "<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>_",
#15 3.432 "for more information."
#15 3.432 ],
#15 3.432 "propertyNames": {
#15 3.432 "format": "python-entrypoint-name"
#15 3.432 },
#15 3.432 "additionalProperties": false,
#15 3.432 "patternProperties": {
#15 3.432 "^.+$": {
#15 3.432 "type": "string",
#15 3.432 "$$description": [
#15 3.432 "Reference to a Python object. It is either in the form",
#15 3.432 "importable.module, or importable.module:object.attr."
#15 3.432 ],
#15 3.432 "format": "python-entrypoint-reference",
#15 3.432 "$comment": "https://packaging.python.org/specifications/entry-points/"
#15 3.432 }
#15 3.432 }
#15 3.432 },
#15 3.432 "dependency": {
#15 3.432 "$id": "#/definitions/dependency",
#15 3.432 "title": "Dependency",
#15 3.432 "type": "string",
#15 3.432 "description": "Project dependency specification according to PEP 508",
#15 3.432 "format": "pep508"
#15 3.432 }
#15 3.432 }
#15 3.432 }
#15 3.432 Traceback (most recent call last):
#15 3.432 File "/tmp/tmpiabqpqe9", line 280, in
#15 3.432 main()
#15 3.432 File "/tmp/tmpiabqpqe9", line 263, in main
#15 3.432 json_out['return_val'] = hook(**hook_input['kwargs'])
#15 3.432 File "/tmp/tmpiabqpqe9", line 114, in get_requires_for_build_wheel
#15 3.432 return hook(config_settings)
#15 3.432 File "/tmp/pip-build-env-1ua61ucd/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 177, in get_requires_for_build_wheel
#15 3.432 return self._get_build_requires(
#15 3.432 File "/tmp/pip-build-env-1ua61ucd/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 159, in _get_build_requires
#15 3.432 self.run_setup()
#15 3.432 File "/tmp/pip-build-env-1ua61ucd/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 174, in run_setup
#15 3.432 exec(compile(code, file, 'exec'), locals())
#15 3.432 File "setup.py", line 248, in
#15 3.432 setuptools.setup(
#15 3.432 File "/tmp/pip-build-env-1ua61ucd/overlay/lib/python3.8/site-packages/setuptools/init.py", line 77, in setup
#15 3.432 return distutils.core.setup(**attrs)
#15 3.432 File "/tmp/pip-build-env-1ua61ucd/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 122, in setup
#15 3.432 dist.parse_config_files()
#15 3.432 File "/tmp/pip-build-env-1ua61ucd/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 836, in parse_config_files
#15 3.432 pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
#15 3.432 File "/tmp/pip-build-env-1ua61ucd/overlay/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py", line 52, in apply_configuration
#15 3.432 config = read_configuration(filepath, True, ignore_option_errors, dist)
#15 3.432 File "/tmp/pip-build-env-1ua61ucd/overlay/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py", line 114, in read_configuration
#15 3.432 validate(subset, filepath)
#15 3.432 File "/tmp/pip-build-env-1ua61ucd/overlay/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py", line 43, in validate
#15 3.432 raise error from None
#15 3.432 ValueError: invalid pyproject.toml config: project
#15 3.432 ----------------------------------------
#15 3.454 ERROR: Command errored out with exit status 1: /usr/bin/python3 /tmp/tmpiabqpqe9 get_requires_for_build_wheel /tmp/tmpj1ld5qdg Check the logs for full command output.

@Rongronggg9
Copy link
Contributor

Duplicate of #899

@elprans elprans closed this as completed Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants