Skip to content

Panda Update

Latest
Compare
Choose a tag to compare
@viperior viperior released this 04 Mar 23:28
· 40 commits to main since this release

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.

image

New features

  • Dev and user requirements are now maintained in separate files: dev-requirements.in and requirements.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 Actions test 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 using pytest.raises() (closes #77)

Maintenance

  • Updated project dependency versions

Closed pull requests

Full Changelog: v1.2.0...v2.0.0