Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ build-backend = "setuptools.build_meta"
[project]
name = "google-cloud-bigquery"
authors = [{ name = "Google LLC", email = "[email protected]" }]
license = { text = "Apache 2.0" }
license = { text = "Apache-2.0" }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dicts appear to be deprecated. It appears that the correct format is a simple string:
Fixing this should clear up the failing tests. .

Suggested change
license = { text = "Apache-2.0" }
license = "Apache-2.0"

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@walid83-0 Take a look. The tests are failing. Here is an example Error:

× Getting requirements to build editable did not run successfully.
  │ exit code: 1
  ╰─> [44 lines of output]
      configuration error: `project.license` must be string
      GIVEN VALUE:
          {
              "text": "Apache-2.0"
          }
      
      OFFENDING RULE: 'type'
      
      DEFINITION:
          {
              "type": "string"
          }
      Traceback (most recent call last):

license-files = ["LICENSE"]
requires-python = ">=3.9"
description = "Google BigQuery API client library"
readme = "README.rst"
Expand All @@ -30,7 +31,6 @@ classifiers = [
# "Development Status :: 5 - Production/Stable"
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
Expand Down
Loading