Skip to content

Commit

Permalink
Updated build backend.
Browse files Browse the repository at this point in the history
Legacy CodeQL removed.
  • Loading branch information
coady committed Jun 14, 2024
1 parent ae1b481 commit e86a010
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 83 deletions.
67 changes: 0 additions & 67 deletions .github/workflows/codeql.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install build wheel setuptools -r docs/requirements.in
- run: python -m build -n
- run: pip install build -r docs/requirements.in
- run: python -m build
- run: npm install
- run: make html
- run: PYTHONPATH=$PWD python -m mkdocs gh-deploy --force
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
![image](https://img.shields.io/pypi/pyversions/graphique.svg)
[![image](https://pepy.tech/badge/graphique)](https://pepy.tech/project/graphique)
![image](https://img.shields.io/pypi/status/graphique.svg)
[![image](https://github.com/coady/graphique/workflows/build/badge.svg)](https://github.com/coady/graphique/actions)
[![build](https://github.com/coady/graphique/actions/workflows/build.yml/badge.svg)](https://github.com/coady/graphique/actions/workflows/build.yml)
[![image](https://codecov.io/gh/coady/graphique/branch/main/graph/badge.svg)](https://codecov.io/gh/coady/graphique/)
[![image](https://github.com/coady/graphique/workflows/codeql/badge.svg)](https://github.com/coady/graphique/security/code-scanning)
[![CodeQL](https://github.com/coady/graphique/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/coady/graphique/actions/workflows/github-code-scanning/codeql)
[![image](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![image](https://mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)

Expand Down
2 changes: 0 additions & 2 deletions graphique/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
from .middleware import GraphQL # noqa: F401

__version__ = '1.6'
13 changes: 3 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[build-system]
requires = ["setuptools>=61", "wheel"]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"

[project]
name = "graphique"
dynamic = ["version", "dependencies"]
version = "1.6"
dynamic = ["dependencies"]
description = "GraphQL service for arrow tables and parquet data sets."
readme = "README.md"
requires-python = ">=3.9"
Expand Down Expand Up @@ -39,22 +40,14 @@ Issues = "https://github.com/coady/graphique/issues"
server = ["uvicorn[standard]"]
cli = ["tqdm"]

[tool.setuptools]
packages = ["graphique"]

[tool.setuptools.dynamic]
version = {attr = "graphique.__version__"}
dependencies = {file = "requirements.in"}

[tool.setuptools.package-data]
graphique = ["py.typed"]

[tool.ruff]
line-length = 100
extend-include = ["*.ipynb"]

[tool.ruff.format]
preview = true
quote-style = "preserve"

[[tool.mypy.overrides]]
Expand Down

0 comments on commit e86a010

Please sign in to comment.