From f41e9fbcadce96f412b37687e06949b56a7f798b Mon Sep 17 00:00:00 2001 From: Evgeniy Blinov Date: Mon, 8 Jan 2024 14:51:56 +0300 Subject: [PATCH 1/4] renamed a badge in the readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c6409d1..cbb6328 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![Downloads](https://static.pepy.tech/badge/instld/month)](https://pepy.tech/project/instld) [![Downloads](https://static.pepy.tech/badge/instld)](https://pepy.tech/project/instld) [![codecov](https://codecov.io/gh/pomponchik/instld/graph/badge.svg?token=XuhCNeksjG)](https://codecov.io/gh/pomponchik/instld) -[![Test-Package](https://github.com/pomponchik/instld/actions/workflows/tests_and_coverage.yml/badge.svg)](https://github.com/pomponchik/instld/actions/workflows/tests_and_coverage.yml) +[![Tests](https://github.com/pomponchik/instld/actions/workflows/tests_and_coverage.yml/badge.svg)](https://github.com/pomponchik/instld/actions/workflows/tests_and_coverage.yml) [![Python versions](https://img.shields.io/pypi/pyversions/instld.svg)](https://pypi.python.org/pypi/instld) [![PyPI version](https://badge.fury.io/py/instld.svg)](https://badge.fury.io/py/instld) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) From be20c64a0cf388d5f403fb9e083b1e1054c8f6f4 Mon Sep 17 00:00:00 2001 From: Evgeniy Blinov Date: Mon, 8 Jan 2024 14:53:01 +0300 Subject: [PATCH 2/4] added the hits-of-code badge to the readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index cbb6328..3dab6a1 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ [![Downloads](https://static.pepy.tech/badge/instld/month)](https://pepy.tech/project/instld) [![Downloads](https://static.pepy.tech/badge/instld)](https://pepy.tech/project/instld) [![codecov](https://codecov.io/gh/pomponchik/instld/graph/badge.svg?token=XuhCNeksjG)](https://codecov.io/gh/pomponchik/instld) +[![Hits-of-Code](https://hitsofcode.com/github/pomponchik/instld?branch=main)](https://hitsofcode.com/github/pomponchik/instld/view?branch=main) [![Tests](https://github.com/pomponchik/instld/actions/workflows/tests_and_coverage.yml/badge.svg)](https://github.com/pomponchik/instld/actions/workflows/tests_and_coverage.yml) [![Python versions](https://img.shields.io/pypi/pyversions/instld.svg)](https://pypi.python.org/pypi/instld) [![PyPI version](https://badge.fury.io/py/instld.svg)](https://badge.fury.io/py/instld) From 4a75b113696a8e3288c3123fc2446e61f4577045 Mon Sep 17 00:00:00 2001 From: Evgeniy Blinov Date: Mon, 8 Jan 2024 14:54:25 +0300 Subject: [PATCH 3/4] added the release workflow --- .github/workflows/release.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..fd1689b --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,34 @@ +name: Release + +on: + push: + branches: + - main + +jobs: + pypi-publish: + name: upload release to PyPI + runs-on: ubuntu-latest + # Specifying a GitHub environment is optional, but strongly encouraged + environment: release + permissions: + # IMPORTANT: this permission is mandatory for trusted publishing + id-token: write + steps: + - uses: actions/checkout@v2 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + shell: bash + run: pip install -r requirements_dev.txt + + - name: Build the project + shell: bash + run: python -m build . + + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 From cf5d9d58e199c67707bbfd35f04687743e1ee505 Mon Sep 17 00:00:00 2001 From: Evgeniy Blinov Date: Wed, 17 Jan 2024 22:50:04 +0300 Subject: [PATCH 4/4] the '--isolated' option --- instld/common_utils/convert_options.py | 1 + 1 file changed, 1 insertion(+) diff --git a/instld/common_utils/convert_options.py b/instld/common_utils/convert_options.py index b564a67..9be328f 100644 --- a/instld/common_utils/convert_options.py +++ b/instld/common_utils/convert_options.py @@ -61,6 +61,7 @@ def add_to_buffer(key, *value, is_option=True): '--require-hashes', '--no-clean', '--no-index', + '--isolated', ) if key in string_variants: