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

Bump invenio-accounts and release v2.0.0 #194

Merged
merged 3 commits into from
Jan 31, 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
6 changes: 5 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright (C) 2022-2023 CERN.
Copyright (C) 2022-2024 CERN.

invenio-administration is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
Expand All @@ -8,6 +8,10 @@
Changes
=======

Version 2.0.0 (released 2024-01-29)

- installation: bump invenio-accounts

Version 1.10.1 (2023-12-07)

- format: enforce code formatting using black
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2022 CERN.
# Copyright (C) 2022-2024 CERN.
# Copyright (C) 2023 KTH Royal Institute of Technology.
#
# invenio-administration is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2022 CERN.
# Copyright (C) 2022-2024 CERN.
#
# invenio-administration is free software; you can redistribute it and/or
# modify it under the terms of the MIT License; see LICENSE file for more
Expand Down
4 changes: 2 additions & 2 deletions invenio_administration/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2022 CERN.
# Copyright (C) 2022-2024 CERN.
#
# invenio-administration is free software; you can redistribute it and/or
# modify it under the terms of the MIT License; see LICENSE file for more
Expand All @@ -10,6 +10,6 @@

from .ext import InvenioAdministration

__version__ = "1.10.1"
__version__ = "2.0.0"

__all__ = ["InvenioAdministration"]
2 changes: 1 addition & 1 deletion invenio_administration/admin.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2022 CERN.
# Copyright (C) 2022-2024 CERN.
#
# Invenio is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
Expand Down
2 changes: 1 addition & 1 deletion invenio_administration/errors.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2022 CERN.
# Copyright (C) 2022-2024 CERN.
# Copyright (C) 2023 Graz University of Technology.
#
# Invenio is free software; you can redistribute it and/or modify it
Expand Down
8 changes: 4 additions & 4 deletions invenio_administration/marshmallow_utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2022 CERN.
# Copyright (C) 2022-2024 CERN.
# Copyright (C) 2023 KTH Royal Institute of Technology.
# Invenio is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
Expand Down Expand Up @@ -109,9 +109,9 @@ def jsonify_schema(schema):
schema_dict[field] = {
"required": is_required,
"readOnly": is_read_only,
"title": field_type.metadata["title"]
if "title" in field_type.metadata
else None,
"title": (
field_type.metadata["title"] if "title" in field_type.metadata else None
),
"createOnly": is_create_only,
"metadata": field_type.metadata,
}
Expand Down
2 changes: 1 addition & 1 deletion invenio_administration/menu/menu.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2022 CERN.
# Copyright (C) 2022-2024 CERN.
# Copyright (C) 2023 Graz University of Technology.
#
# Invenio is free software; you can redistribute it and/or modify it
Expand Down
14 changes: 7 additions & 7 deletions invenio_administration/views/base.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2022 CERN.
# Copyright (C) 2022-2024 CERN.
#
# Invenio is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
Expand Down Expand Up @@ -278,9 +278,9 @@ def get_context(self, pid_value=None):
"display_edit": self.display_edit,
"display_delete": self.display_delete,
"list_ui_endpoint": self.get_list_view_endpoint(),
"resource_name": self.resource_name
if self.resource_name
else self.pid_path,
"resource_name": (
self.resource_name if self.resource_name else self.pid_path
),
"request_headers": self.request_headers,
}

Expand Down Expand Up @@ -406,9 +406,9 @@ def get(self):
"pid_path": self.pid_path,
"create_ui_endpoint": self.get_create_view_endpoint(),
"list_ui_endpoint": self.get_list_view_endpoint(),
"resource_name": self.resource_name
if self.resource_name
else self.pid_path,
"resource_name": (
self.resource_name if self.resource_name else self.pid_path
),
}
)

Expand Down
2 changes: 1 addition & 1 deletion invenio_administration/webpack.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2019-2022 CERN.
# Copyright (C) 2019-2024 CERN.
# Copyright (C) 2019-2022 Northwestern University.
# Copyright (C) 2022 TU Wien.
# Copyright (C) 2022 Graz University of Technology.
Expand Down
8 changes: 4 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2015-2018 CERN.
# Copyright (C) 2015-2024 CERN.
# Copyright (C) 2022 Graz University of Technology.
# Copyright (C) 2023 KTH Royal Institute of Technology.
#
Expand Down Expand Up @@ -30,11 +30,11 @@ zip_safe = False
install_requires =
Flask-Menu>=0.5.0
Flask-Principal>=0.4.0
invenio-accounts>=3.0.0,<4.0.0
invenio-accounts>=4.0.0,<5.0.0
invenio-base>=1.2.9,<2.0.0
invenio-db[postgresql,mysql]>=1.0.9,<2.0.0
invenio-vocabularies>=2.0.0,<3.0.0
invenio-records-resources>=4.3.0,<5.0.0
invenio-vocabularies>=3.0.0,<4.0.0
invenio-records-resources>=5.0.0,<6.0.0
invenio-search-ui>=2.1.2,<3.0.0
invenio-theme>=2.0.0,<3.0.0

Expand Down
2 changes: 1 addition & 1 deletion tests/test_marshmallow_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2023 CERN.
# Copyright (C) 2023-2024 CERN.
# Copyright (C) 2023 KTH Royal Institute of Technology.
#
# invenio-administration is free software; you can redistribute it and/or
Expand Down
Loading