Skip to content

Commit

Permalink
Prepare for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Feb 18, 2021
1 parent 53429fe commit 42c843f
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion repo_helper/cli/commands/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""
Add metadata.
.. versionadded:: $VERSION
.. versionadded:: 2021.2.18
"""
#
# Copyright © 2020-2021 Dominic Davis-Foster <dominic@davis-foster.co.uk>
Expand Down
2 changes: 1 addition & 1 deletion repo_helper/configuration/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def parse_yaml(repo_path: PathLike, allow_unknown_keys: bool = False) -> Dict:
:returns: Mapping of configuration keys to values.
.. versionchanged:: $VERSION Added the ``allow_unknown_keys`` argument.
.. versionchanged:: 2021.2.18 Added the ``allow_unknown_keys`` argument.
"""

repo_path = PathPlus(repo_path)
Expand Down
2 changes: 1 addition & 1 deletion repo_helper/configuration/documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ class docs_fail_on_warning(ConfigVar): # noqa
docs_fail_on_warning: True
.. versionadded:: $VERSION
.. versionadded:: 2021.2.18
"""

dtype = bool
Expand Down
2 changes: 1 addition & 1 deletion repo_helper/configuration/python_versions_.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class requires_python(ConfigVar): # noqa
requires_python: 3.6.1
.. versionadded:: $VERSION
.. versionadded:: 2021.2.18
"""

dtype = Union[str, float]
Expand Down
2 changes: 1 addition & 1 deletion repo_helper/configuration/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class mypy_version(ConfigVar): # noqa
mypy_version: 0.790
.. versionchanged:: $VERSION The default is now ``0.800``
.. versionchanged:: 2021.2.18 The default is now ``0.800``
"""

dtype = Union[str, float]
Expand Down
2 changes: 1 addition & 1 deletion repo_helper/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def load_settings(self, allow_unknown_keys: bool = False) -> None:
:param allow_unknown_keys: Whether unknown keys should be allowed in the configuration file.
.. versionchanged:: $VERSION
.. versionchanged:: 2021.2.18
* This method is no longer called automatically when instantiating the :class:`~.RepoHelper` class.
* Added the ``allow_unknown_keys`` argument.
Expand Down
4 changes: 0 additions & 4 deletions repo_helper/files/ci_cd.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,6 @@ def get_windows_ci_versions(self) -> List[str]:

if not self.templates.globals["pure_python"] and "3.8" in py_versions:
py_versions.remove("3.8") # FIXME: Python 3.8 tests fail on Windows for native wheels.
if "pypy3" in py_versions:
# FIXME: PyPy3 tests fail on Windows.
# https://github.com/domdfcoding/flake8-sphinx-links/runs/1276871725?check_suite_focus=true
py_versions.remove("pypy3")

return py_versions

Expand Down
2 changes: 1 addition & 1 deletion repo_helper/templates/github_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: False
matrix:
config:{% for version in no_dev_versions(python_versions) %}
- {python-version: "{{ version }}", testenvs: "{{ gh_actions_versions[version] }}", experimental: {{ "alpha" in version or "beta" in version }}}{% endfor %}
- {python-version: "{{ version }}", testenvs: "{{ gh_actions_versions[version] }}", experimental: {{ "alpha" in version or "beta" in version or version == "pypy3.7"}}}{% endfor %}

steps:
- name: Checkout 🛎️
Expand Down
4 changes: 1 addition & 3 deletions repo_helper/templates/github_ci_rustpython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ jobs:

- name: Setup RustPython 🦀 🐍
run: |
git clone https://github.com/RustPython/RustPython
cargo install --path ./RustPython
rm -rf ./RustPython
cargo install --git https://github.com/RustPython/RustPython
- name: Install dependencies 🔧
run: |
Expand Down

0 comments on commit 42c843f

Please sign in to comment.