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

Flask v3 upgrade #156

Merged
merged 4 commits into from
Feb 13, 2025
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
23 changes: 4 additions & 19 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,7 @@ on:

jobs:
build-n-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel babel
- name: Build package
run: |
python setup.py compile_catalog sdist bdist_wheel
- name: pypi-publish
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.pypi_token }}
uses: inveniosoftware/workflows/.github/workflows/pypi-publish.yml@master
secrets: inherit
with:
babel-compile-catalog: true
6 changes: 4 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of Invenio.
# Copyright (C) 2020 CERN.
# Copyright (C) 2022 Graz University of Technology.
# Copyright (C) 2022-2024 Graz University of Technology.
# Copyright (C) 2024 KTH Royal Institute of Technology.
#
# Invenio is free software; you can redistribute it and/or modify it
Expand All @@ -14,9 +14,11 @@ on:
push:
branches:
- master
- "feature/*"
pull_request:
branches:
- master
- "feature/*"
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "0 3 * * 6"
Expand All @@ -31,4 +33,4 @@ jobs:
Python:
uses: inveniosoftware/workflows/.github/workflows/tests-python.yml@master
with:
extras: "tests"
extras: "tests"
8 changes: 8 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
..
Copyright (C) 2023-2024 CERN.
Copyright (C) 2024 Graz University of Technology.

Invenio-Users-Resources is free software; you can redistribute it
and/or modify it under the terms of the MIT License; see LICENSE file for
Expand All @@ -8,6 +9,13 @@
Changes
=======

Version v7.0.0.dev2 (released 2025-01-23)

Version 7.0.0.dev1 (released 2024-12-12)

- setup: change to reusable workflows
- setup: bump major dependencies

Version v6.1.3 (released 2024-12-12)

- services: explicitly set max results to 10,000 for admin user search
Expand Down
2 changes: 1 addition & 1 deletion invenio_users_resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@

"""Invenio module providing management APIs for users and roles/groups."""

__version__ = "6.1.3"
__version__ = "7.0.0.dev2"

__all__ = ("__version__",)
24 changes: 12 additions & 12 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,26 @@ packages = find:
python_requires = >=3.7
zip_safe = False
install_requires =
invenio-administration>=2.0.0,<3.0.0
invenio-accounts>=5.0.0,<6.0.0
invenio-i18n>=2.0.0
invenio-notifications>=0.1.0,<1.0.0
invenio-oauthclient>=4.0.0,<5.0.0
invenio-records-resources>=6.0.0,<7.0.0
invenio-administration>=3.0.0,<4.0.0
invenio-accounts>=6.0.0,<7.0.0
invenio-i18n>=3.0.0,<4.0.0
invenio-notifications>=1.0.0,<2.0.0
invenio-oauthclient>=5.0.0,<6.0.0
invenio-records-resources>=7.0.0,<8.0.0

[options.extras_require]
tests =
pytest-black-ng>=0.4.0
invenio-app>=1.4.0,<2.0.0
invenio-db[postgresql,mysql]>=1.0.14,<2.0.0
pytest-invenio>=2.1.0,<3.0.0
invenio-app>=2.0.0,<3.0.0
invenio-db[postgresql,mysql]>=2.0.0,<3.0.0
pytest-invenio>=3.0.0,<4.0.0
sphinx>=4.5
elasticsearch7 =
invenio-search[elasticsearch7]>=2.1.0,<3.0.0
invenio-search[elasticsearch7]>=3.0.0,<4.0.0
opensearch1 =
invenio-search[opensearch1]>=2.1.0,<3.0.0
invenio-search[opensearch1]>=3.0.0,<4.0.0
opensearch2 =
invenio-search[opensearch2]>=2.1.0,<3.0.0
invenio-search[opensearch2]>=3.0.0,<4.0.0

[options.entry_points]
invenio_base.apps =
Expand Down
Loading