From bb07f0b6a9b1b08d7f1eaa56c468bedb140f71ec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 12 May 2023 16:40:22 +0000 Subject: [PATCH] chore(deps-dev): Bump pip from 23.0.1 to 23.1.2 in /packages/jsii-pacmak/test/generated-code (#4072) Bumps [pip](https://github.com/pypa/pip) from 23.0.1 to 23.1.2.
Changelog

Sourced from pip's changelog.

23.1.2 (2023-04-26)

Vendored Libraries

23.1.1 (2023-04-22)

Bug Fixes

Vendored Libraries

Improved Documentation

23.1 (2023-04-15)

Deprecations and Removals

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pip&package-manager=pip&previous-version=23.0.1&new-version=23.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/jsii-pacmak/test/generated-code/harness.ts | 6 ++++++ .../jsii-pacmak/test/generated-code/python-pyright.test.ts | 4 +++- .../jsii-pacmak/test/generated-code/requirements-dev.txt | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/jsii-pacmak/test/generated-code/harness.ts b/packages/jsii-pacmak/test/generated-code/harness.ts index 4ca7fb43da..92098e81e1 100644 --- a/packages/jsii-pacmak/test/generated-code/harness.ts +++ b/packages/jsii-pacmak/test/generated-code/harness.ts @@ -280,10 +280,15 @@ async function runPacmak( export async function preparePythonVirtualEnv({ install = [], + installOptions = [], venvDir = __dirname, systemSitePackages = true, }: { install?: readonly string[]; + // some options like `--config-settings` should only be + // passed once. If they are passed multiple times + // then it registers as an array with multiple values + installOptions?: readonly string[]; venvDir?: string; systemSitePackages?: boolean; } = {}) { @@ -345,6 +350,7 @@ export async function preparePythonVirtualEnv({ 'pip', 'install', '--no-input', + ...installOptions, // Additional install parameters ...install, // Note: this resolution is a little ugly, but it's there to avoid creating a dependency cycle diff --git a/packages/jsii-pacmak/test/generated-code/python-pyright.test.ts b/packages/jsii-pacmak/test/generated-code/python-pyright.test.ts index 40d29f1e60..a06a7eeb77 100644 --- a/packages/jsii-pacmak/test/generated-code/python-pyright.test.ts +++ b/packages/jsii-pacmak/test/generated-code/python-pyright.test.ts @@ -48,11 +48,13 @@ beforeAll(async () => { install: TEST_PACKAGES.flatMap(({ moduleName }) => [ '-e', JSON.stringify(path.join(pythonSource, moduleName, TargetName.PYTHON)), + ]), + installOptions: [ // setuptools >=64 requires this // https://github.com/pypa/setuptools/issues/3518 '--config-settings', 'editable_mode=strict', - ]), + ], venvDir: pythonSource, systemSitePackages: false, // Interferes with pyright resolutions... }); diff --git a/packages/jsii-pacmak/test/generated-code/requirements-dev.txt b/packages/jsii-pacmak/test/generated-code/requirements-dev.txt index f2cd70f3d0..a1c43aa24a 100644 --- a/packages/jsii-pacmak/test/generated-code/requirements-dev.txt +++ b/packages/jsii-pacmak/test/generated-code/requirements-dev.txt @@ -1,2 +1,2 @@ mypy==1.3.0 -pip==23.0.1 # required to use --config-settings +pip==23.1.2 # required to use --config-settings