Skip to content

Commit 48ea085

Browse files
authored
Fix versioning and add some post-release fixes. (#6)
1 parent 2d41265 commit 48ea085

File tree

5 files changed

+24
-39
lines changed

5 files changed

+24
-39
lines changed

.github/workflows/continuous-integration-workflow.yml

-20
Original file line numberDiff line numberDiff line change
@@ -32,26 +32,6 @@ jobs:
3232
shell: bash -l {0}
3333
run: conda install -c conda-forge tox-conda coverage
3434

35-
# Unit, integration, and end-to-end tests.
36-
37-
# - name: Run unit tests and doctests.
38-
# shell: bash -l {0}
39-
# run: tox -e pytest -- -m "unit or (not integration and not end_to_end)" --cov=./ --cov-report=xml -n auto
40-
41-
# - name: Upload coverage report for unit tests and doctests.
42-
# if: runner.os == 'Linux' && matrix.python-version == '3.8'
43-
# shell: bash -l {0}
44-
# run: bash <(curl -s https://codecov.io/bash) -F unit -c
45-
46-
# - name: Run integration tests.
47-
# shell: bash -l {0}
48-
# run: tox -e pytest -- -m integration --cov=./ --cov-report=xml -n auto
49-
50-
# - name: Upload coverage reports of integration tests.
51-
# if: runner.os == 'Linux' && matrix.python-version == '3.8'
52-
# shell: bash -l {0}
53-
# run: bash <(curl -s https://codecov.io/bash) -F integration -c
54-
5535
- name: Run end-to-end tests.
5636
shell: bash -l {0}
5737
run: tox -e pytest -- -m end_to_end --cov=./ --cov-report=xml -n auto

CHANGES.rst

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
Changes
22
=======
33

4-
This is a record of all past pytask-environment releases and what went into them in reverse
5-
chronological order. Releases follow `semantic versioning <https://semver.org/>`_ and
6-
all releases are available on `Anaconda.org
7-
<https://anaconda.org/pytask/pytask-environment>`_.
4+
This is a record of all past pytask-environment releases and what went into them in
5+
reverse chronological order. Releases follow `semantic versioning
6+
<https://semver.org/>`_ and all releases are available on `Anaconda.org
7+
<https://anaconda.org/conda-forge/pytask-environment>`_.
8+
9+
10+
0.0.4 - 2021-03-05
11+
------------------
12+
13+
- :gh:`6` fixes the version number which is displayed during execution.
814

915

1016
0.0.3 - 2021-03-03

README.rst

+11-10
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,18 @@
66
:alt: PyPI - Python Version
77
:target: https://pypi.org/project/pytask-environment
88

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

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

1815
.. image:: https://img.shields.io/pypi/l/pytask-environment
1916
:alt: PyPI - License
17+
:target: https://pypi.org/project/pytask-environment
18+
19+
.. image:: https://img.shields.io/github/workflow/status/pytask-dev/pytask-environment/Continuous%20Integration%20Workflow/main
20+
:target: https://github.com/pytask-dev/pytask-environment/actions?query=branch%3Amain
2021

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

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

4648
.. code-block:: console
4749
4850
$ pip install pytask-environment
4951
5052
# or
5153
52-
$ conda config --add channels conda-forge --add channels pytask
53-
$ conda install pytask-environment
54+
$ conda install -c conda-forge pytask-environment
5455
5556
5657
Usage

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
setup(
2020
name="pytask-environment",
2121
version=versioneer.get_version(),
22-
cmd_class=versioneer.get_cmdclass(),
22+
cmdclass=versioneer.get_cmdclass(),
2323
description="Detect changes in your pytask environment and abort a project build.",
2424
long_description=README,
2525
long_description_content_type="text/x-rst",
@@ -39,11 +39,11 @@
3939
"Programming Language :: Python :: 3.8",
4040
"Programming Language :: Python :: 3.9",
4141
],
42-
install_requires=["pytask >0.0.7"],
42+
install_requires=["click", "pony", "pytask >= 0.0.7"],
4343
platforms="any",
4444
packages=find_packages(where="src"),
4545
package_dir={"": "src"},
4646
entry_points={"pytask": ["pytask_environment = pytask_environment.plugin"]},
4747
include_package_data=True,
48-
zip_false=False,
48+
zip_safe=False,
4949
)

src/pytask_environment/__init__.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
__version__ = "0.0.1"
2-
31
from ._version import get_versions
42

53
__version__ = get_versions()["version"]

0 commit comments

Comments
 (0)