Skip to content

Commit

Permalink
Bump version: 1.2.0 → 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Jul 21, 2023
1 parent 609f088 commit 83adcdb
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 37 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Expand Up @@ -7,6 +7,11 @@ Changes
`Unreleased <https://github.com/Ouranosinc/cowbird/tree/master>`_ (latest)
------------------------------------------------------------------------------------

* Nothing yet.

`2.0.0 <https://github.com/Ouranosinc/cowbird/tree/2.0.0>`_ (2023-07-21)
------------------------------------------------------------------------------------

* Update Docker image to use ``python:3.10-alpine`` instead of ``python:3.7-alpine`` for
latest security updates and performance improvements.
* Update GitHub CI tests to include Python 3.9, 3.10 and 3.11, and use 3.10 by default for additional checks.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -19,7 +19,7 @@ MAKEFILE_NAME := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
# Application
APP_ROOT := $(abspath $(lastword $(MAKEFILE_NAME))/..)
APP_NAME := cowbird
APP_VERSION ?= 1.2.0
APP_VERSION ?= 2.0.0
APP_INI ?= $(APP_ROOT)/config/$(APP_NAME).ini
APP_PORT ?= 7000

Expand Down
24 changes: 12 additions & 12 deletions README.rst
Expand Up @@ -44,13 +44,13 @@ the resources under those services such that the complete ecosystem can seamless
:alt: Requires Python 3.7+
:target: https://www.python.org/getit

.. |commits-since| image:: https://img.shields.io/github/commits-since/Ouranosinc/cowbird/1.2.0.svg
.. |commits-since| image:: https://img.shields.io/github/commits-since/Ouranosinc/cowbird/2.0.0.svg
:alt: Commits since latest release
:target: https://github.com/Ouranosinc/cowbird/compare/1.2.0...master
:target: https://github.com/Ouranosinc/cowbird/compare/2.0.0...master

.. |version| image:: https://img.shields.io/badge/tag-1.2.0-blue.svg?style=flat
.. |version| image:: https://img.shields.io/badge/tag-2.0.0-blue.svg?style=flat
:alt: Latest Tag
:target: https://github.com/Ouranosinc/cowbird/tree/1.2.0
:target: https://github.com/Ouranosinc/cowbird/tree/2.0.0

.. |dependencies| image:: https://pyup.io/repos/github/Ouranosinc/cowbird/shield.svg
:alt: Dependencies Status
Expand All @@ -60,9 +60,9 @@ the resources under those services such that the complete ecosystem can seamless
:alt: Github Actions CI Build Status (master branch)
:target: https://github.com/Ouranosinc/cowbird/actions?query=branch%3Amaster

.. |github_tagged| image:: https://img.shields.io/github/actions/workflow/status/Ouranosinc/cowbird/tests.yml?label=1.2.0&branch=1.2.0
.. |github_tagged| image:: https://img.shields.io/github/actions/workflow/status/Ouranosinc/cowbird/tests.yml?label=2.0.0&branch=2.0.0
:alt: Github Actions CI Build Status (latest tag)
:target: https://github.com/Ouranosinc/cowbird/tree/1.2.0
:target: https://github.com/Ouranosinc/cowbird/tree/2.0.0

.. |readthedocs| image:: https://img.shields.io/readthedocs/pavics-cowbird
:alt: Readthedocs Build Status (master branch)
Expand Down Expand Up @@ -134,12 +134,12 @@ Following most recent variants are available:
- |cowbird_latest_websvc|_


.. |cowbird_tag_base| replace:: pavics/cowbird:1.2.0
.. _cowbird_tag_base: https://hub.docker.com/r/pavics/cowbird/tags?page=1&ordering=last_updated&name=1.2.0
.. |cowbird_tag_worker| replace:: pavics/cowbird:1.2.0-worker
.. _cowbird_tag_worker: https://hub.docker.com/r/pavics/cowbird/tags?page=1&ordering=last_updated&name=1.2.0-worker
.. |cowbird_tag_websvc| replace:: pavics/cowbird:1.2.0-webservice
.. _cowbird_tag_websvc: https://hub.docker.com/r/pavics/cowbird/tags?page=1&ordering=last_updated&name=1.2.0-webservice
.. |cowbird_tag_base| replace:: pavics/cowbird:2.0.0
.. _cowbird_tag_base: https://hub.docker.com/r/pavics/cowbird/tags?page=1&ordering=last_updated&name=2.0.0
.. |cowbird_tag_worker| replace:: pavics/cowbird:2.0.0-worker
.. _cowbird_tag_worker: https://hub.docker.com/r/pavics/cowbird/tags?page=1&ordering=last_updated&name=2.0.0-worker
.. |cowbird_tag_websvc| replace:: pavics/cowbird:2.0.0-webservice
.. _cowbird_tag_websvc: https://hub.docker.com/r/pavics/cowbird/tags?page=1&ordering=last_updated&name=2.0.0-webservice

.. |cowbird_latest_base| replace:: pavics/cowbird:latest
.. _cowbird_latest_base: https://hub.docker.com/r/pavics/cowbird/tags?page=1&ordering=last_updated&name=latest
Expand Down
2 changes: 1 addition & 1 deletion cowbird/__meta__.py
Expand Up @@ -2,7 +2,7 @@
General meta information on the package.
"""

__version__ = "1.2.0"
__version__ = "2.0.0"
__title__ = "Cowbird"
__package__ = "cowbird" # pylint: disable=W0622
__author__ = "Ouranos inc., CRIM"
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile-base
Expand Up @@ -3,7 +3,7 @@ LABEL description.short="Cowbird base"
LABEL description.long="Cowbird middleware to manage interactions between various birds of the bird-house stack."
LABEL Maintainer="Ouranos, CRIM"
LABEL Vendor="Ouranos inc."
LABEL Version="1.2.0"
LABEL Version="2.0.0"

ENV COWBIRD_DIR=/opt/local/src/cowbird
ENV COWBIRD_CONFIG_DIR=${COWBIRD_DIR}/config
Expand Down
30 changes: 8 additions & 22 deletions setup.cfg
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.2.0
current_version = 2.0.0
commit = True
tag = True
tag_name = {new_version}
Expand Down Expand Up @@ -42,9 +42,6 @@ ignore-path = docs/_build,docs/autoapi

[docformatter]
recursive = true
# Don't employ 'wrap-descriptions 120' since this *enforces* that length and rearranges format if any word can fit
# within remaining space, which often cause big diffs of ugly formatting for no important reason. Instead only check
# general formatting operations, and let other linter capture docstrings going over 120 (what we really care about).
wrap-descriptions = 0
wrap-summaries = 120
make-summary-multi-line = True
Expand Down Expand Up @@ -147,25 +144,14 @@ implicit_reexport = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = false
# Because 'JSON' is very predominant in the code, ignore common errors that its definition creates even though those
# ignored errors could hide away real error situations. However, this is expected to be in minimal quantity that would
# probably be caught in a (more robust) runtime test anyway. Favor the developer typing experience instead by avoiding
# 'cast' and comments 'type: ignore' all over the place, and focus more on other typing errors to better document
# expected types.
# - 'union-attr' happens a lot because of 'JSON = Union[...]' with all its variations
# - 'index' happens a lot because of 'JSON' mapping conflicting with 'JSON' listing
# - 'comparison-overlap' can happen when a more precise type applied onto a generic type that encapsulates it
# - 'literal-required' happens like the previous case, but more precisely for explicit vs generic string situations
# Other errors are also mostly to make development quicker, to allow not "exact" typing definitions, such as when
# reusing the same variable with an overridden distinct-typed value.
disable_error_code = assignment,
attr-defined,
literal-required,
comparison-overlap,
call-overload,
no-redef,
union-attr,
index
attr-defined,
literal-required,
comparison-overlap,
call-overload,
no-redef,
union-attr,
index

[mypy-tests.*]
allow_untyped_calls = true
Expand Down

0 comments on commit 83adcdb

Please sign in to comment.