Skip to content
Merged
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
20 changes: 6 additions & 14 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pylint
python -m pip install .
- name: Lint with flake8
python -m pip install tox
- name: Run tox
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Lint with pylint
run: |
pylint -E tmDiff
tox -e py
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.9.3] - 2025-12-19

### Changed

- Replaced explicit Git URL-based dependency installation to custom package index.

## [0.9.2] - 2024-05-23

### Changed
Expand Down Expand Up @@ -80,7 +86,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Depends on utm 0.8.0

[unreleased]: https://github.com/cms-l1-globaltrigger/tm-diff/compare/0.9.2...HEAD
[unreleased]: https://github.com/cms-l1-globaltrigger/tm-diff/compare/0.9.3...HEAD
[0.9.3]: https://github.com/cms-l1-globaltrigger/tm-diff/compare/0.9.2...0.9.3
[0.9.2]: https://github.com/cms-l1-globaltrigger/tm-diff/compare/0.9.1...0.9.2
[0.9.1]: https://github.com/cms-l1-globaltrigger/tm-diff/compare/0.9.0...0.9.1
[0.9.0]: https://github.com/cms-l1-globaltrigger/tm-diff/compare/0.8.1...0.9.0
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@ XML Menu Diff

## Install

Install using pip (>= 19.0).

```bash
pip install --upgrade pip
pip install git+https://github.com/cms-l1-globaltrigger/[email protected]
pip install --index https://globaltrigger.web.cern.ch/pypi tm-diff
```

## Basic usage
Expand Down
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ classifiers =
"Topic :: Utilities"

[options]
python_requires = >=3.6
python_requires = >=3.9
packages = find:
install_requires =
tm-python @ git+https://github.com/cms-l1-globaltrigger/tm-python@0.13.0
tm-table~=0.13.0
test_suite = tests

[options.packages.find]
Expand Down
2 changes: 1 addition & 1 deletion tmDiff/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.9.2"
__version__ = "0.9.3"
1 change: 0 additions & 1 deletion tmDiff/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import argparse
import os
import sys
from typing import Callable, Dict, List

Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[tox]
envlist = py36, py37, py38, py39, py310, py311, py312
envlist = py39, py310, py311, py312, py313
isolated_build = true
skip_missing_interpreters = true

[testenv]
setenv =
PIP_EXTRA_INDEX_URL = https://globaltrigger.web.cern.ch/pypi
deps =
flake8
pylint
ruff
mypy
pytest
commands =
flake8 tmDiff --select=E9,F63,F7,F82
pylint -E tmDiff
ruff check tmDiff --select=E9,F63,F7,F82
mypy tmDiff
# pytest