Skip to content

Releases: boromir674/cookiecutter-python-package

v1.7.5

05 Feb 00:38

Choose a tag to compare

What's Changed

Full Changelog: v1.7.4...v1.7.5

v1.7.4

26 Jan 14:52

Choose a tag to compare

What's Changed

Full Changelog: v1.7.3...v1.7.4

Python Package Generator v1.7.3

15 Jan 23:09

Choose a tag to compare

What's Changed

Full Changelog: v1.7.2...v1.7.3

Code Changes

fix

  • raise a proper subclass of python built-in Exception

documentation

  • improve documentation

style

  • apply isort in codebase

refactor

  • satisfy pylint a bit more

build

  • add pinned/locked dependencies defined in poetry.lock
  • replace PyInquirer with Questionary package

ci

  • install dependencies for pydeps Job
  • use pydeps == 1.11.0 which supports python3.10 & remove autoprovisioning of tox
  • draw dependency graphs in new Job after tests and upload artifacts
  • add 'pytest' as a known word to pass spell checking
  • remove badges from bettercodehub since the service has shut down
  • pin tox to 3.28 in generate workflow
  • run pylint in ci and fail job if score is below threshold
  • fail pylint step if score is below PYLINT_THRESHOLD variable
  • run only unit-tests in ci workflow
  • fix ci
  • install pinned to 3.28 in ci runner
  • debug type checking on windows tox
  • skip tox -e lint on windows machine
  • remove py36 from ci matrix generation
  • fix prospector environment's commands
  • tox -e pydeps: allow configuration of target dir & allow invoking from outside root dir

v1.7.2

13 Nov 17:19

Choose a tag to compare

What's Changed

Full Changelog: v1.7.1...v1.7.2

v1.7.1

01 Aug 11:37

Choose a tag to compare

Changes
^^^^^^^

refactor
""""""""

  • reduce duplicate code & clean code

v1.7.0

11 Jul 17:30

Choose a tag to compare

Introducing a pre-emptive check of whether a Project registered under the same
name as the one given to the generator, exists on
the readthedocs.org server already.

Changes
^^^^^^^

feature
"""""""

  • check if a project with the same slug name, is already registered on the readthedocs server

test
""""

  • improve flexibility of testing code

refactor
""""""""

  • modularize code and improve dryness of code as well

v1.6.1

05 Jul 17:39

Choose a tag to compare

This is the first Cross-Platform release of the Python Generator.
That means, now, we officially support installing and running the
Python Generator, apart from Linux and Macos, on Windows machines as well.

Changes
^^^^^^^

test
""""

  • manually covert gitpython outputted string paths into Path instances
  • use Path from pathlib instead of the os.path module

refactor
""""""""

  • remove the 'path_builder' fixture, to reduce test code
  • remove depcrecation warning fired by Jinja2 when rendering the *.rst template files
  • use the 'run_subprocess' fixture to reduce test boilerplate code

ci
""

  • excplicitly use bash as the shell for some job steps

v1.6.0

30 Jun 16:06

Choose a tag to compare

Introducing the Project Type Generate Variable. Now you can select what
type of Python Package you intend to develop and the Generation process
shall adjust to produce the desired skeleton and infrastructure accordingly!

Packaged the existing functionality into the Module and Module + CLI
Project Types.
Added the new Pytest Plugin Project Type, designed for developing Pytest
Plugins and Fixtures (see below).

Project Types currently supported:

  • Module: a Python Package intended to serve exclusively as a Software Library
  • Module + CLI: a Python Package proving a Software Library and an
    "installable" (executable) Command Line Program/Interface (CLI)
  • Pytest Plugin: a Python Package intended to providing a Pyetst Plugin (ie with
    a Test Fixture)

Changes
^^^^^^^

feature
"""""""

  • add 'project_type' Variable allowing for 'module', 'module+cli' or 'pytest-plugin' Projects
  • conditionaly populate 'test' dependencies, ie based on whether there is a cli entrypoint

v1.5.2

22 Jun 18:15

Choose a tag to compare

Development Update fixing the communication between the CI server and the Test
Coverage Hosting Service. It also enable CI tests for the Documentation
side of the project.

Changes
^^^^^^^

ci
""

  • install pyenchant on macos using homebrew
  • test documentation tests and building command
  • upload code coverage data to codecov.io from within the 'test_suite' job

v1.5.1

20 Jun 11:54

Choose a tag to compare

The Update includes improved code Architecture and better Test code Coverage!
Features shorter Unites of Code, more DRY and more Tests.

Changes
^^^^^^^

test
""""

  • add bandit tox env for discovering common security issues
  • verify commit message, author and email are the expected ones
  • git init, increase test code coverage

refactor
""""""""

  • reduce code
  • centralize subprocess run invocations

ci
""

  • enable network-bound tests to trigger integration testing of the check_pypi feature