Skip to content

Commit

Permalink
Prepare for version 0.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
fgrosa authored and fchinu committed Oct 21, 2024
1 parent b438fef commit 242a846
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 26 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Test package

on: [pull_request]
on: [push, pull_request]

jobs:
build-ubuntu-latest:
Expand All @@ -26,21 +26,13 @@ jobs:
run: |
pip install ${{ matrix.test-tool }}
tests/run_tests.sh ${{ matrix.test-tool }}
- name: Lint with flake8
run: |
pip install flake8
tests/run_tests.sh flake8
- name: Test with pytest
run: |
pip install pytest
tests/run_tests.sh pytest
build-macos-latest:
runs-on: macOS-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.9, 3.10.x, 3.11.x]
python-version: [3.11.x]
test-tool: [pytest]

steps:
Expand All @@ -57,12 +49,4 @@ jobs:
- name: Test with ${{ matrix.test-tool }}
run: |
pip install ${{ matrix.test-tool }}
tests/run_tests.sh ${{ matrix.test-tool }}
- name: Lint with flake8
run: |
pip install flake8
tests/run_tests.sh flake8
- name: Test with pytest
run: |
pip install pytest
tests/run_tests.sh pytest
tests/run_tests.sh ${{ matrix.test-tool }}
6 changes: 3 additions & 3 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: '3.10.x'
python-version: '3.11.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __call__(self):
name="flarefly",

# LAST-TAG is a placeholder. Automatically replaced at deploy time with the right tag
version="0.0.12",
version="0.0.13",
description="FLexible And REliable Fitting LibrarY for particle physics analysis",
url="https://github.com/flarefly/flarefly",
author="flarefly-developers",
Expand All @@ -69,8 +69,6 @@ def __call__(self):
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Physics",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11"
Expand All @@ -91,7 +89,7 @@ def __call__(self):
"ipython>=7.16.1", "jedi>=0.17.2", "zfit>=0.20.2", "mplhep>=0.3.46", "matplotlib>=3.9",
"particle>=0.23", "scipy>=1.13", "hepstats>=0.8.1"
],
python_requires=">=3.8",
python_requires=">=3.9",

# List additional groups of dependencies here (e.g. development dependencies). You can install
# these using the following syntax, for example:
Expand Down

0 comments on commit 242a846

Please sign in to comment.