Skip to content
Merged

Dev #82

Show file tree
Hide file tree
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
18 changes: 9 additions & 9 deletions .github/workflows/tox_matrix.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
on: [push, pull_request]
name: Tox Multi-platform Compatibility Test

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-2019]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
include:
- os: macos-latest
- os: ubuntu-latest
- os: windows-2019
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.10', '3.11', '3.12', '3.13']
fail-fast: false
name: Python ${{ matrix.python-version }} ${{ matrix.os }} build
steps:
Expand All @@ -21,9 +22,8 @@ jobs:
cache: 'pip' # caching pip dependencies
- name: Install requirements
run: |
pip install wheel
pip install -r requirements/requirements_tox.txt
pip install uv
- name: Run tox
run: tox -e py -vvv
run: uv run --only-group tox --with tox-uv --isolated tox -e py -vvv
env:
PIP_EXTRA_INDEX_URL: ${{vars.PIP_EXTRA_INDEX_URL}}
3 changes: 1 addition & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Include the license file
include LICENSE tox.ini README.rst requirements.txt
include LICENSE tox.ini README.rst

include docs/make.bat docs/Makefile

recursive-include requirements *.txt
recursive-include docs/source *
recursive-include tests *.py
36 changes: 31 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "dcc_qc"
version = "0.1.3.dev0"
requires-python = ">=3.9"
requires-python = ">=3.10"

readme = "README.rst"
license = {text = "University of Illinois/NCSA Open Source License"}
Expand All @@ -17,12 +17,38 @@ maintainers = [
]
description = "This package is for performing automated quality control tests on file packages"
classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: University of Illinois/NCSA Open Source License",
"Topic :: System :: Archiving :: Packaging",
]

[dependency-groups]
docs = ["sphinx"]
type_checking = [
"mypy",
"lxml",
]

lint = [
"flake8",
{include-group = "type_checking"},
]
tox = ["tox"]
test = [
"coverage[toml]",
"pytest",
]
dev = [
{include-group = "docs"},
{include-group = "lint"},
{include-group = "test"},
{include-group = "tox"},
]
release = ["twine"]
ci = [
{include-group = "release"},
{include-group = "dev"},
]

[tool.setuptools]
packages = [
Expand All @@ -34,6 +60,7 @@ packages = [
"dcc_qc.reports",
"dcc_qc.validator",
]
package-dir = {"dcc_qc" = "src/dcc_qc"}
zip-safe = false


Expand All @@ -60,7 +87,6 @@ testpaths = [
"tests"
]



[tool.mypy]
ignore_missing_imports = true
mypy_path = "src"
3 changes: 0 additions & 3 deletions requirements-ci.txt

This file was deleted.

2 changes: 0 additions & 2 deletions requirements.txt

This file was deleted.

52 changes: 0 additions & 52 deletions requirements/requirements-ci-freeze.txt

This file was deleted.

7 changes: 0 additions & 7 deletions requirements/requirements-ci.txt

This file was deleted.

4 changes: 0 additions & 4 deletions requirements/requirements.txt

This file was deleted.

1 change: 0 additions & 1 deletion requirements/requirements_tox.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[tox]
envlist = py39, py310, py311, py312, py313
envlist = py310, py311, py312, py313


[pytest]
testpaths = tests
addopts = --verbose

[testenv]
deps = pytest
dependency_groups = test
commands = {envbindir}/pytest --basetemp={envtmpdir}/pytest {posargs}

[testenv:docs]
Expand Down
1,424 changes: 1,424 additions & 0 deletions uv.lock

Large diffs are not rendered by default.

81 changes: 31 additions & 50 deletions vars/runJenkinsPipeline.groovy

Large diffs are not rendered by default.