Modernize Python packaging to use pyproject.toml#97
Merged
Subterrane merged 1 commit intomasterfrom May 9, 2025
Merged
Conversation
- Remove setup.py, setup.cfg, requirements.txt and test-requirements.txt - Consolidate all package configuration in pyproject.toml - Update GitHub Actions workflows to use new configuration - Remove unnecessary CI files (.travis.yml, .gitlab-ci.yml, git_push.sh) - Update installation instructions in README.md - Bump version to 3.1.6
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR modernizes the package by consolidating configuration into pyproject.toml, removing legacy files, and updating CI workflows.
- Remove outdated packaging files (setup.py, setup.cfg, test-requirements.txt, .travis.yml, .gitlab-ci.yml, git_push.sh)
- Update tox.ini environment configuration and GitHub Actions workflows
- Bump the version to 3.1.6 and update the README with new installation instructions
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tox.ini | Expanded environment list and enabled isolated builds |
| test-requirements.txt | Removed redundant test requirements file |
| setup.py | Removed in favor of pyproject.toml consolidation |
| setup.cfg | Removed in favor of pyproject.toml consolidation |
| pyproject.toml | Consolidated project metadata and dependency declarations |
| onelogin/init.py | Updated version to 3.1.6 |
| git_push.sh | Removed outdated git push script |
| README.md | Updated installation and testing instructions |
| .travis.yml | Removed CI configuration |
| .gitlab-ci.yml | Removed CI configuration |
| .github/workflows/python-publish.yml | Updated build command to a condensed one |
| .github/workflows/continuous-integration.yml | Updated test command from unittest to pytest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan