Summary
The panda is known for its clear separation between different parts of its habitat. This release focuses on improving the user experience and simplifying the project's dependency management while maintaining a clear separation between different parts of the project.
It also adds pandas
to the project to demonstrate maintaining dev and user requirements independently.
New features
- Dev and user requirements are now maintained in separate files:
dev-requirements.in
andrequirements.in
(closes #60) - A third-party dependency,
pandas
, was added to the template's example code to support clear separation between dev and user requirements (closes #90)
Issues fixed
- Resolved
ValueError - int not callable
when running flake8 by updating project dependency versions and modifying the package installation process in the GitHub Actionstest
workflow (closes #108)
Improvements
- Changed from static dependency versions to minimum versions (
foopackage==3.2.7 => foopackage>=3.2
) - Remove
pytest-xdist
as a default dependency. Users can add this to their projects when needed and if they are okay with the added complexity. In the future,pytest-xdist
could be an option to include in a template wizard. - Remove
CodeQL
as a default CI/CD workflow. Users can add this to their projects when needed and if they are okay with the added complexity. CodeQL does not work well with private repositories, which makes its default inclusion an immediate hurdle for users who want to use the template in a new private repository. In the future, CodeQL could be an option to include in a template wizard. (closes #111) - Improve
pytest
exception testing approach usingpytest.raises()
(closes #77)
Maintenance
- Updated project dependency versions
Closed pull requests
- Bump coverage from 6.4.4 to 6.5.0 by @dependabot in #86
- Bump pytest from 7.1.3 to 7.2.0 by @dependabot in #87
- Bump pytest-xdist from 2.5.0 to 3.0.2 by @dependabot in #88
- Spring cleaning 2023: bug fixes, updates, and improvements by @viperior in #109
- Bump pytest from 7.2.1 to 7.2.2 by @dependabot in #112
- Bump pylint from 2.16.2 to 2.16.3 by @dependabot in #110
Full Changelog: v1.2.0...v2.0.0