Skip to content

Commit

Permalink
Merge pull request #309 from anaconda-distribution/v0.1.2
Browse files Browse the repository at this point in the history
v0.1.2 Release
  • Loading branch information
schuylermartin45 authored Oct 27, 2023
2 parents a19bdb0 + 70afd21 commit e60f31c
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
source $CONDA/bin/activate
conda install conda-build
conda-build .
conda-build -c distro-tooling .
lint-recipe:
runs-on: ubuntu-latest
steps:
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Changelog
Note: version releases in the 0.x.y range may introduce breaking changes.

## 0.1.2
- Enforces Python code auto formatting across the project
- Enforces Python code linting across the project
- Significant changes the `Makefile` and `pre-commit` configurations
- Adds fix support for `no_git_on_windows`
- Adds support and unit tests for some auto-fixable rules
- README changes
- `pytest` now runs tests in parallel
- Various bug fixes

## 0.1.1
- Add knowledge of Python build backends to the missing_wheel rule
- Relax host_section_needs_exact_pinnings
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,17 @@ Running `make help` will show all of the available commands. Here are some that
1. `make analyze`: Runs the static analyzer, `mypy`.
1. `make pre-commit`: Runs all the `pre-commit` checks

## Release process
Here is a rough outline of how to conduct a release of this project:
1. Update `CHANGELOG.md`
1. Update the version number in `anaconda_linter/__init__.py`
1. Update the version number in `recipe/meta.yaml`
1. Ensure `environment.yaml` aligns with `recipe/meta.yaml`
1. Create a new release on GitHub with a version tag.
1. The Anaconda packaging team will need to update
[the feedstock](https://github.com/AnacondaRecipes/anaconda-linter-feedstock)
and [aggregate](https://github.com/AnacondaRecipes/aggregate) and publish to `distro-tooling`

## Contributions
This package is inspired by bioconda's [linter](https://github.com/bioconda/bioconda-utils/blob/master/bioconda_utils/lint/__init__.py).

Expand Down
2 changes: 1 addition & 1 deletion anaconda_linter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Description: Module configurations for the `anaconda-linter` project
"""
__name__ = "anaconda_linter" # pylint: disable=redefined-builtin
__version__ = "0.1.1"
__version__ = "0.1.2"
__author__ = "Anaconda, Inc."
__email__ = "[email protected]"
__license__ = "BSD-3-Clause"
Expand Down
2 changes: 1 addition & 1 deletion environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:
- setuptools
- pip
# run
- percy >=0.1.0,<0.2.0
- distro-tooling::percy >=0.1.1,<0.2.0
- ruamel.yaml
- license-expression
- jinja2
Expand Down
5 changes: 3 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = "0.1.1" %}
{% set version = "0.1.2" %}

package:
name: anaconda-linter
Expand Down Expand Up @@ -30,7 +30,7 @@ requirements:
- conda-build
- jsonschema
- networkx
- percy >=0.1.0,<0.2.0
- percy >=0.1.1,<0.2.0

test:
source_files:
Expand Down Expand Up @@ -64,3 +64,4 @@ about:
extra:
recipe-maintainers:
- marcoesters
- schuylermartin45

0 comments on commit e60f31c

Please sign in to comment.