File tree Expand file tree Collapse file tree 9 files changed +76
-0
lines changed Expand file tree Collapse file tree 9 files changed +76
-0
lines changed Original file line number Diff line number Diff line change 1
1
Release Procedure
2
2
-----------------
3
3
4
+ #. Dependening on the magnitude of the changes in the release, consider testing
5
+ some of the large downstream users of pluggy against the upcoming release.
6
+ You can do so using the scripts in the ``downstream/ `` directory.
7
+
4
8
#. From a clean work tree, execute::
5
9
6
10
tox -e release -- VERSION
Original file line number Diff line number Diff line change
1
+ /conda /
2
+ /datasette /
3
+ /devpi /
4
+ /hatch /
5
+ /pytest /
6
+ /tox /
Original file line number Diff line number Diff line change
1
+ This directory contains scripts for testing some downstream projects
2
+ against your current pluggy worktree.
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -eux -o pipefail
3
+ if [[ ! -d conda ]]; then
4
+ git clone https://github.com/conda/conda
5
+ fi
6
+ pushd conda && trap popd EXIT
7
+ git pull
8
+ set +eu
9
+ source dev/start
10
+ set -eu
11
+ pip install -e ../../
12
+ pytest -m " not integration and not installed"
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -eux -o pipefail
3
+ if [[ ! -d datasette ]]; then
4
+ git clone https://github.com/simonw/datasette
5
+ fi
6
+ pushd datasette && trap popd EXIT
7
+ git pull
8
+ python -m venv venv
9
+ venv/bin/pip install -e .[test] -e ../..
10
+ venv/bin/pytest
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -eux -o pipefail
3
+ if [[ ! -d devpi ]]; then
4
+ git clone https://github.com/devpi/devpi
5
+ fi
6
+ pushd devpi && trap popd EXIT
7
+ git pull
8
+ python -m venv venv
9
+ venv/bin/pip install -r dev-requirements.txt -e ../..
10
+ venv/bin/pytest common
11
+ venv/bin/pytest server
12
+ venv/bin/pytest client
13
+ venv/bin/pytest web
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -eux -o pipefail
3
+ if [[ ! -d hatch ]]; then
4
+ git clone https://github.com/pypa/hatch
5
+ fi
6
+ pushd hatch && trap popd EXIT
7
+ git pull
8
+ python -m venv venv
9
+ venv/bin/pip install -e . -e ./backend -e ../..
10
+ venv/bin/hatch run dev
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -eux -o pipefail
3
+ if [[ ! -d pytest ]]; then
4
+ git clone https://github.com/pytest-dev/pytest
5
+ fi
6
+ pushd pytest && trap popd EXIT
7
+ git pull
8
+ python -m venv venv
9
+ venv/bin/pip install -e .[testing] -e ../..
10
+ venv/bin/pytest
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -eux -o pipefail
3
+ if [[ ! -d tox ]]; then
4
+ git clone https://github.com/tox-dev/tox
5
+ fi
6
+ pushd tox && trap popd EXIT
7
+ python -m venv venv
8
+ venv/bin/pip install -e .[testing] -e ../..
9
+ venv/bin/pytest
You can’t perform that action at this time.
0 commit comments