Skip to content

Commit

Permalink
build(deps-dev): bump build from ~0.10 to ~1.2 (#921)
Browse files Browse the repository at this point in the history
* docs(CONTRIBUTING): update build command definition for developers

---------

Co-authored-by: codejedi365 <codejedi365@gmail.com>
  • Loading branch information
afuetterer and codejedi365 committed May 9, 2024
1 parent 6c41ec3 commit b573c4d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ Install this module and the development dependencies

.. code-block:: bash
pip install -e ".[dev,mypy,test]"
pip install -e .[dev,mypy,test]
And if you'd like to build the documentation locally

.. code-block:: bash
pip install -e ".[docs]"
pip install -e .[docs]
sphinx-autobuild --open-browser docs docs/_build/html
Testing
Expand Down Expand Up @@ -93,5 +93,5 @@ package locally:

.. code-block:: bash
python -m pip install build~=0.10.0
pip install -e .[build]
python -m build .
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ issues = "https://github.com/python-semantic-release/python-semantic-release/iss
repository = "http://github.com/python-semantic-release/python-semantic-release.git"

[project.optional-dependencies]
build = [
"build ~= 1.2"
]
docs = [
"Sphinx ~= 6.0",
"sphinxcontrib-apidoc == 0.5.0",
Expand Down Expand Up @@ -368,7 +371,7 @@ ignore_names = ["change_to_ex_proj_dir", "init_example_project"]
logging_use_named_masks = true
commit_parser = "angular"
build_command = """
python -m pip install build~=0.10.0
python -m pip install -e .[build]
python -m build .
"""
major_on_zero = true
Expand Down

0 comments on commit b573c4d

Please sign in to comment.