Skip to content

Fix publish workflow - #2

Merged
ahsand97 merged 9 commits into
masterfrom
fix-publish-workflow
Aug 31, 2026
Merged

ahsand97 merged 9 commits into
masterfrom
fix-publish-workflow

Conversation

@ahsand97

Copy link
Copy Markdown
Owner

No description provided.

- Added a step in `pr-validation.yml` to upload built native libraries as artifacts, reducing rebuild time in subsequent jobs.
- Updated `python-publish.yml` to download these artifacts, allowing for linking without the need for a full build environment, streamlining the CI process.
- Updated the version extraction logic for the pixman library to ensure compatibility with Python 3.8 by replacing the use of str.removeprefix() with a conditional check.
- Added a future import for annotations to enhance type hinting support.
- Added a future import for annotations in aliases.py to improve type hinting support.
- Updated the import statement in libraries.py to use List from typing for better compatibility with Python versions prior to 3.9.
- Changed license specification to a string format and added license-files for clarity.
- Removed redundant license classifier from classifiers list.
- Expanded package list to include additional icon and library modules for better structure and organization.
- Changed license format to use a file reference for better compatibility with setuptools.
- Added a license classifier to the project metadata for clarity and compliance.
- Updated the artifact download steps in `python-publish.yml` to explicitly specify patterns for wheels and source distributions, preventing conflicts during the publish process.
- Improved clarity in the workflow by adding comments regarding the artifact handling.
- Changed license specification in `pyproject.toml` to a string format and added `license-files` for improved compatibility with setuptools.
- Updated the GitHub Actions workflow to patch the license format for builds using older setuptools versions, ensuring compatibility with Python 3.8.
- Introduced several IntEnum classes to represent X11 constants, event types, input event masks, key masks, button masks, and other related enums for better organization and clarity in the code.
- Enhanced the structure of the backend module by categorizing constants and events, improving maintainability and readability.
- Added a conditional check in `python-publish.yml` to ensure that a release is published only when triggered by a release event or from the master branch, enhancing the workflow's reliability and preventing unintended publishes from feature branches.
@github-actions

Copy link
Copy Markdown

PR Validation Results

✅ All checks passed!

Check Status
Code formatting (ruff format) ✅
Lint (ruff, mypy, basedpyright, named-args, explicit-types) ✅
Backend stub (orcsome3_backend.pyi) ✅
Tests (unittest) ✅

@ahsand97
ahsand97 merged commit 32154cd into master Aug 31, 2026
1 check passed
@ahsand97
ahsand97 deleted the fix-publish-workflow branch August 31, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant