Skip to content

Added requirements.txt to support users#28

Merged
swhume merged 1 commit intomainfrom
pendingintent-requirements-patch
Feb 26, 2026
Merged

Added requirements.txt to support users#28
swhume merged 1 commit intomainfrom
pendingintent-requirements-patch

Conversation

@pendingintent
Copy link
Collaborator

When using the utility, there are dependencies that a user must install. Rather than have them discover this when trying to use, I have created a requirements.txt file, which can be used:

pip install -r requirements.txt

This will support the user in installing the necessary dependencies to begin using the utility without errors.

When using the utility, there are dependencies that a user must install.  Rather than have them discover this when trying to use, I have created a requirements.txt file, which can be used:

`pip install -r requirements.txt`

This will support the user in installing the necessary dependencies to begin using the utility without errors.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a requirements.txt file to the src/define-xml/ directory to help users install the necessary Python dependencies for the USDM to Define-360i JSON Processor utility. The file specifies 10 package dependencies with pinned versions that can be installed using pip install -r requirements.txt.

Changes:

  • Added requirements.txt file with 10 Python package dependencies for the define-xml utility

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +2 to +10
certifi==2026.1.4
charset-normalizer==3.4.4
dotenv==0.9.9
idna==3.11
jsonata-python==0.6.1
python-dotenv==1.2.1
PyYAML==6.0.3
requests==2.32.5
urllib3==2.6.3
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The packages certifi, charset-normalizer, idna, and urllib3 are transitive dependencies of requests and cdisc-library-client. Pinning transitive dependencies in requirements.txt can lead to version conflicts and maintenance issues. Unless there's a specific security or compatibility reason, it's better to let pip resolve these automatically. Consider removing these entries and only specifying direct dependencies (cdisc-library-client, jsonata-python, python-dotenv, PyYAML, requests). If requests is only used indirectly through cdisc-library-client, you may also consider removing it.

Suggested change
certifi==2026.1.4
charset-normalizer==3.4.4
dotenv==0.9.9
idna==3.11
jsonata-python==0.6.1
python-dotenv==1.2.1
PyYAML==6.0.3
requests==2.32.5
urllib3==2.6.3
dotenv==0.9.9
jsonata-python==0.6.1
python-dotenv==1.2.1
PyYAML==6.0.3
requests==2.32.5

Copilot uses AI. Check for mistakes.
Copy link
Collaborator

@swhume swhume left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for generating the requirements.txt.

@swhume swhume merged commit ae268b6 into main Feb 26, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants