Skip to content

Commit

Permalink
Fix versioning and add some post-release fixes. (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasraabe authored Mar 5, 2021
1 parent 2d41265 commit 48ea085
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 39 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,6 @@ jobs:
shell: bash -l {0}
run: conda install -c conda-forge tox-conda coverage

# Unit, integration, and end-to-end tests.

# - name: Run unit tests and doctests.
# shell: bash -l {0}
# run: tox -e pytest -- -m "unit or (not integration and not end_to_end)" --cov=./ --cov-report=xml -n auto

# - name: Upload coverage report for unit tests and doctests.
# if: runner.os == 'Linux' && matrix.python-version == '3.8'
# shell: bash -l {0}
# run: bash <(curl -s https://codecov.io/bash) -F unit -c

# - name: Run integration tests.
# shell: bash -l {0}
# run: tox -e pytest -- -m integration --cov=./ --cov-report=xml -n auto

# - name: Upload coverage reports of integration tests.
# if: runner.os == 'Linux' && matrix.python-version == '3.8'
# shell: bash -l {0}
# run: bash <(curl -s https://codecov.io/bash) -F integration -c

- name: Run end-to-end tests.
shell: bash -l {0}
run: tox -e pytest -- -m end_to_end --cov=./ --cov-report=xml -n auto
Expand Down
14 changes: 10 additions & 4 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
Changes
=======

This is a record of all past pytask-environment releases and what went into them in reverse
chronological order. Releases follow `semantic versioning <https://semver.org/>`_ and
all releases are available on `Anaconda.org
<https://anaconda.org/pytask/pytask-environment>`_.
This is a record of all past pytask-environment releases and what went into them in
reverse chronological order. Releases follow `semantic versioning
<https://semver.org/>`_ and all releases are available on `Anaconda.org
<https://anaconda.org/conda-forge/pytask-environment>`_.


0.0.4 - 2021-03-05
------------------

- :gh:`6` fixes the version number which is displayed during execution.


0.0.3 - 2021-03-03
Expand Down
21 changes: 11 additions & 10 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@
:alt: PyPI - Python Version
:target: https://pypi.org/project/pytask-environment

.. image:: https://anaconda.org/pytask/pytask-environment/badges/version.svg
:target: https://anaconda.org/pytask/pytask-environment
.. image:: https://img.shields.io/conda/vn/conda-forge/pytask-environment.svg
:target: https://anaconda.org/conda-forge/pytask-environment

.. image:: https://anaconda.org/pytask/pytask-environment/badges/platforms.svg
:target: https://anaconda.org/pytask/pytask-environment

.. image:: https://github.com/pytask-dev/pytask-environment/workflows/Continuous%20Integration%20Workflow/badge.svg?branch=main
:target: https://github.com/pytask-dev/pytask/actions?query=branch%3Amain
.. image:: https://img.shields.io/conda/pn/conda-forge/pytask-environment.svg
:target: https://anaconda.org/conda-forge/pytask-environment

.. image:: https://img.shields.io/pypi/l/pytask-environment
:alt: PyPI - License
:target: https://pypi.org/project/pytask-environment

.. image:: https://img.shields.io/github/workflow/status/pytask-dev/pytask-environment/Continuous%20Integration%20Workflow/main
:target: https://github.com/pytask-dev/pytask-environment/actions?query=branch%3Amain

.. image:: https://codecov.io/gh/pytask-dev/pytask-environment/branch/main/graph/badge.svg
:target: https://codecov.io/gh/pytask-dev/pytask-environment
Expand All @@ -41,16 +42,16 @@ Installation
------------

pytask-environment is available on `PyPI <https://pypi.org/project/pytask-environment>`_
and `Anaconda.org <https://anaconda.org/pytask/pytask-environment>`_. Install it with
and `Anaconda.org <https://anaconda.org/conda-forge/pytask-environment>`_. Install it
with

.. code-block:: console
$ pip install pytask-environment
# or
$ conda config --add channels conda-forge --add channels pytask
$ conda install pytask-environment
$ conda install -c conda-forge pytask-environment
Usage
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
setup(
name="pytask-environment",
version=versioneer.get_version(),
cmd_class=versioneer.get_cmdclass(),
cmdclass=versioneer.get_cmdclass(),
description="Detect changes in your pytask environment and abort a project build.",
long_description=README,
long_description_content_type="text/x-rst",
Expand All @@ -39,11 +39,11 @@
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
install_requires=["pytask >0.0.7"],
install_requires=["click", "pony", "pytask >= 0.0.7"],
platforms="any",
packages=find_packages(where="src"),
package_dir={"": "src"},
entry_points={"pytask": ["pytask_environment = pytask_environment.plugin"]},
include_package_data=True,
zip_false=False,
zip_safe=False,
)
2 changes: 0 additions & 2 deletions src/pytask_environment/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
__version__ = "0.0.1"

from ._version import get_versions

__version__ = get_versions()["version"]
Expand Down

0 comments on commit 48ea085

Please sign in to comment.