Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@yeisonvargasf
Copy link
Member

pkg_resources will be removed as early as 2025-11-30. Migrated to importlib.metadata for getting importable packages to ensure compatibility with future Python versions.

@yeisonvargasf yeisonvargasf self-assigned this Oct 22, 2025
@yeisonvargasf yeisonvargasf added the enhancement Suggests an improvement or new feature. label Oct 22, 2025
@coderabbitai
Copy link

coderabbitai bot commented Oct 22, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/replace-deprecated-pkg_resources

Comment @coderabbitai help to get the list of available commands and usage tips.

@yeisonvargasf yeisonvargasf force-pushed the fix/replace-deprecated-pkg_resources branch from 1719384 to 9d5c569 Compare October 22, 2025 00:16
@yeisonvargasf yeisonvargasf changed the title replace deprecated pkg_resources with importlib.metadata fix: replace deprecated pkg_resources with importlib.metadata Oct 22, 2025
@yeisonvargasf yeisonvargasf force-pushed the fix/replace-deprecated-pkg_resources branch from 9d5c569 to 94a2e19 Compare October 22, 2025 00:17
@yeisonvargasf yeisonvargasf requested a review from sadjake October 22, 2025 00:18
@safety-bot
Copy link
Contributor

🚀 Artifacts — PR #813 by @yeisonvargasf (source: yeisonvargasf:unknown-repo)

Security notice: You are viewing pre-release CI artifacts from PR #813 by @yeisonvargasf (source: yeisonvargasf:unknown-repo). These commands may execute code on your machine. Do NOT run them unless you have reviewed the PR diff and trust the source. The snippets include a confirmation prompt.

Download the wheel file and binaries with gh CLI or from the workflow artifacts.

📦 Install & Run

Pre-requisites

# Install uv if needed
curl -LsSf https://astral.sh/uv/install.sh | sh

# Create and enter artifacts directory
mkdir artifacts && cd artifacts

Quick Test with Python Package

bash -c 'set -euo pipefail; echo; echo "WARNING: You are about to download and execute CI artifacts from PR #813 by @yeisonvargasf (source: yeisonvargasf:unknown-repo). Do NOT proceed unless you have reviewed the PR diff and trust the source."; echo; read -rp "Type I understand to continue: " C; [ "$C" = "I understand" ] || { echo "Aborted."; exit 1; }; gh run download 18701296227 -n dist -R pyupio/safety; uvx safety-*-py3-none-any.whl --version'

Run other Safety commands as follows

uvx safety-*-py3-none-any.whl auth status
uvx safety-*-py3-none-any.whl auth login
uvx safety-*-py3-none-any.whl scan

Note: You need to be logged in to GitHub to access the artifacts.

@safety-bot
Copy link
Contributor

🚀 Artifacts — PR #813 by @yeisonvargasf (source: yeisonvargasf:unknown-repo)

Security notice: You are viewing pre-release CI artifacts from PR #813 by @yeisonvargasf (source: yeisonvargasf:unknown-repo). These commands may execute code on your machine. Do NOT run them unless you have reviewed the PR diff and trust the source. The snippets include a confirmation prompt.

Download the wheel file and binaries with gh CLI or from the workflow artifacts.

📦 Install & Run

Pre-requisites

# Install uv if needed
curl -LsSf https://astral.sh/uv/install.sh | sh

# Create and enter artifacts directory
mkdir artifacts && cd artifacts

Quick Test with Python Package

bash -c 'set -euo pipefail; echo; echo "WARNING: You are about to download and execute CI artifacts from PR #813 by @yeisonvargasf (source: yeisonvargasf:unknown-repo). Do NOT proceed unless you have reviewed the PR diff and trust the source."; echo; read -rp "Type I understand to continue: " C; [ "$C" = "I understand" ] || { echo "Aborted."; exit 1; }; gh run download 18701318459 -n dist -R pyupio/safety; uvx safety-*-py3-none-any.whl --version'

Run other Safety commands as follows

uvx safety-*-py3-none-any.whl auth status
uvx safety-*-py3-none-any.whl auth login
uvx safety-*-py3-none-any.whl scan

Note: You need to be logged in to GitHub to access the artifacts.

@safety-bot
Copy link
Contributor

🚀 Artifacts — PR #813 by @yeisonvargasf (source: yeisonvargasf:unknown-repo)

Security notice: You are viewing pre-release CI artifacts from PR #813 by @yeisonvargasf (source: yeisonvargasf:unknown-repo). These commands may execute code on your machine. Do NOT run them unless you have reviewed the PR diff and trust the source. The snippets include a confirmation prompt.

Download the wheel file and binaries with gh CLI or from the workflow artifacts.

📦 Install & Run

Pre-requisites

# Install uv if needed
curl -LsSf https://astral.sh/uv/install.sh | sh

# Create and enter artifacts directory
mkdir artifacts && cd artifacts

Quick Test with Python Package

bash -c 'set -euo pipefail; echo; echo "WARNING: You are about to download and execute CI artifacts from PR #813 by @yeisonvargasf (source: yeisonvargasf:unknown-repo). Do NOT proceed unless you have reviewed the PR diff and trust the source."; echo; read -rp "Type I understand to continue: " C; [ "$C" = "I understand" ] || { echo "Aborted."; exit 1; }; gh run download 18701340361 -n dist -R pyupio/safety; uvx safety-*-py3-none-any.whl --version'

Run other Safety commands as follows

uvx safety-*-py3-none-any.whl auth status
uvx safety-*-py3-none-any.whl auth login
uvx safety-*-py3-none-any.whl scan

Note: You need to be logged in to GitHub to access the artifacts.

@yeisonvargasf yeisonvargasf force-pushed the fix/replace-deprecated-pkg_resources branch from 94a2e19 to 1ad4cc0 Compare October 22, 2025 01:04
@safety-bot
Copy link
Contributor

🚀 Artifacts — PR #813 by @yeisonvargasf (source: yeisonvargasf:unknown-repo)

Security notice: You are viewing pre-release CI artifacts from PR #813 by @yeisonvargasf (source: yeisonvargasf:unknown-repo). These commands may execute code on your machine. Do NOT run them unless you have reviewed the PR diff and trust the source. The snippets include a confirmation prompt.

Download the wheel file and binaries with gh CLI or from the workflow artifacts.

📦 Install & Run

Pre-requisites

# Install uv if needed
curl -LsSf https://astral.sh/uv/install.sh | sh

# Create and enter artifacts directory
mkdir artifacts && cd artifacts

Quick Test with Python Package

bash -c 'set -euo pipefail; echo; echo "WARNING: You are about to download and execute CI artifacts from PR #813 by @yeisonvargasf (source: yeisonvargasf:unknown-repo). Do NOT proceed unless you have reviewed the PR diff and trust the source."; echo; read -rp "Type I understand to continue: " C; [ "$C" = "I understand" ] || { echo "Aborted."; exit 1; }; gh run download 18702133818 -n dist -R pyupio/safety; uvx safety-*-py3-none-any.whl --version'

Run other Safety commands as follows

uvx safety-*-py3-none-any.whl auth status
uvx safety-*-py3-none-any.whl auth login
uvx safety-*-py3-none-any.whl scan

Note: You need to be logged in to GitHub to access the artifacts.

pkg_resources will be removed as early as 2025-11-30. Migrated to importlib.metadata for getting importable packages to ensure compatibility with future Python versions.
@yeisonvargasf yeisonvargasf force-pushed the fix/replace-deprecated-pkg_resources branch from 1ad4cc0 to 0cc1e7f Compare October 22, 2025 01:34
@safety-bot
Copy link
Contributor

🚀 Artifacts — PR #813 by @yeisonvargasf (source: yeisonvargasf:unknown-repo)

Security notice: You are viewing pre-release CI artifacts from PR #813 by @yeisonvargasf (source: yeisonvargasf:unknown-repo). These commands may execute code on your machine. Do NOT run them unless you have reviewed the PR diff and trust the source. The snippets include a confirmation prompt.

Download the wheel file and binaries with gh CLI or from the workflow artifacts.

📦 Install & Run

Pre-requisites

# Install uv if needed
curl -LsSf https://astral.sh/uv/install.sh | sh

# Create and enter artifacts directory
mkdir artifacts && cd artifacts

Quick Test with Python Package

bash -c 'set -euo pipefail; echo; echo "WARNING: You are about to download and execute CI artifacts from PR #813 by @yeisonvargasf (source: yeisonvargasf:unknown-repo). Do NOT proceed unless you have reviewed the PR diff and trust the source."; echo; read -rp "Type I understand to continue: " C; [ "$C" = "I understand" ] || { echo "Aborted."; exit 1; }; gh run download 18702615021 -n dist -R pyupio/safety; uvx safety-*-py3-none-any.whl --version'

Run other Safety commands as follows

uvx safety-*-py3-none-any.whl auth status
uvx safety-*-py3-none-any.whl auth login
uvx safety-*-py3-none-any.whl scan

Note: You need to be logged in to GitHub to access the artifacts.

@yeisonvargasf yeisonvargasf merged commit c1e07ef into main Oct 22, 2025
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Suggests an improvement or new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants