Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.3.1 #86

Merged
merged 3 commits into from
Apr 2, 2024
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
27 changes: 8 additions & 19 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,47 +16,36 @@ on:
branches: master
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 3 * * 6'
- cron: "0 3 * * 6"
workflow_dispatch:
inputs:
reason:
description: 'Reason'
description: "Reason"
required: false
default: 'Manual trigger'
default: "Manual trigger"

jobs:
Tests:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
requirements-level: [pypi]
python-version: [3.9, 3.12]
env:
EXTRAS: tests
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Generate dependencies
run: |
pip install wheel requirements-builder
requirements-builder -e "$EXTRAS" --level=${{ matrix.requirements-level }} setup.py > .${{ matrix.requirements-level }}-${{ matrix.python-version }}-requirements.txt

- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('.${{ matrix.requirements-level }}-${{ matrix.python-version }}-requirements.txt') }}
cache: pip
cache-dependency-path: setup.cfg

- name: Install dependencies
run: |
pip install -r .${{ matrix.requirements-level }}-${{ matrix.python-version }}-requirements.txt
pip install .[$EXTRAS]
pip install ".[$EXTRAS]"
pip freeze

- name: Run tests
Expand Down
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
Changes
=======

Version 1.3.1 (released 2024-04-02)

- setup: unpin importlib-metadata
- tests: update python matrix

Version 1.3.0 (released 2024-03-05)

- installation: bump celery to support python 3.11
Expand Down
2 changes: 1 addition & 1 deletion invenio_celery/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@ def sum(x, y):

from .ext import InvenioCelery

__version__ = "1.3.0"
__version__ = "1.3.1"

__all__ = ("__version__", "InvenioCelery")
9 changes: 0 additions & 9 deletions requirements-devel.txt

This file was deleted.

2 changes: 0 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ zip_safe = False
install_requires =
celery>=5.1.0,<5.4
Flask-CeleryExt>=0.3.4
# unpin when closed https://github.com/celery/celery/issues/7783
importlib-metadata>=4.0.0,<5.0.0
invenio-base>=1.2.5
msgpack>=0.6.2
redis>=2.10.0
Expand Down
Loading