From 5ad63896bb8982730236cbaed5fe77abebfc4def Mon Sep 17 00:00:00 2001 From: Dominic Davis-Foster Date: Wed, 31 Aug 2022 10:16:31 +0100 Subject: [PATCH 1/2] Promote conda-forge package --- README.rst | 9 ++++----- doc-source/index.rst | 10 +++++----- repo_helper.yml | 1 + 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.rst b/README.rst index 426b3dd..f02f4ef 100644 --- a/README.rst +++ b/README.rst @@ -86,12 +86,12 @@ Enum Tools :target: https://pypi.org/project/enum_tools/ :alt: PyPI - Wheel -.. |conda-version| image:: https://img.shields.io/conda/v/domdfcoding/enum_tools?logo=anaconda - :target: https://anaconda.org/domdfcoding/enum_tools +.. |conda-version| image:: https://img.shields.io/conda/v/conda-forge/enum_tools?logo=anaconda + :target: https://anaconda.org/conda-forge/enum_tools :alt: Conda - Package Version -.. |conda-platform| image:: https://img.shields.io/conda/pn/domdfcoding/enum_tools?label=conda%7Cplatform - :target: https://anaconda.org/domdfcoding/enum_tools +.. |conda-platform| image:: https://img.shields.io/conda/pn/conda-forge/enum_tools?label=conda%7Cplatform + :target: https://anaconda.org/conda-forge/enum_tools :alt: Conda - Platform .. |license| image:: https://img.shields.io/github/license/domdfcoding/enum_tools @@ -148,7 +148,6 @@ To install with ``conda``: .. code-block:: bash $ conda config --add channels https://conda.anaconda.org/conda-forge - $ conda config --add channels https://conda.anaconda.org/domdfcoding * Then install diff --git a/doc-source/index.rst b/doc-source/index.rst index 9914952..0392a8f 100644 --- a/doc-source/index.rst +++ b/doc-source/index.rst @@ -99,12 +99,12 @@ Enum Tools :wheel: :alt: PyPI - Wheel - .. |conda-version| image:: https://img.shields.io/conda/v/domdfcoding/enum_tools?logo=anaconda - :target: https://anaconda.org/domdfcoding/enum_tools + .. |conda-version| image:: https://img.shields.io/conda/v/conda-forge/enum_tools?logo=anaconda + :target: https://anaconda.org/conda-forge/enum_tools :alt: Conda - Package Version - .. |conda-platform| image:: https://img.shields.io/conda/pn/domdfcoding/enum_tools?label=conda%7Cplatform - :target: https://anaconda.org/domdfcoding/enum_tools + .. |conda-platform| image:: https://img.shields.io/conda/pn/conda-forge/enum_tools?label=conda%7Cplatform + :target: https://anaconda.org/conda-forge/enum_tools :alt: Conda - Platform .. |license| github-shield:: @@ -158,7 +158,7 @@ Installation :pypi: :github: :anaconda: - :conda-channels: conda-forge, domdfcoding + :conda-channels: conda-forge .. end installation diff --git a/repo_helper.yml b/repo_helper.yml index d981f86..ce86ff3 100644 --- a/repo_helper.yml +++ b/repo_helper.yml @@ -15,6 +15,7 @@ standalone_contrib_guide: true min_coverage: 86 docs_fail_on_warning: true mypy_version: "0.931" +on_conda_forge: true conda_channels: - conda-forge From e28ff8555a6308677a846c7f22ecc33fe2c58a55 Mon Sep 17 00:00:00 2001 From: Dominic Davis-Foster Date: Wed, 14 Jun 2023 16:11:16 +0100 Subject: [PATCH 2/2] Don't error on pkg-resources deprecation warnings. --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 5437c8f..450e9c5 100644 --- a/tox.ini +++ b/tox.ini @@ -237,3 +237,5 @@ filterwarnings = always:module 'sre_(constants|parse)' is deprecated:DeprecationWarning always:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning:babel[.*] always:'imghdr' is deprecated and slated for removal in Python 3.13:DeprecationWarning:sphinx.util.images + always:pkg_resources is deprecated as an API:DeprecationWarning + always:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning