Skip to content

feat(package): Migrating to uv#22

Open
fccoelho wants to merge 11 commits into
mainfrom
migrating-to-uv
Open

feat(package): Migrating to uv#22
fccoelho wants to merge 11 commits into
mainfrom
migrating-to-uv

Conversation

@fccoelho

Copy link
Copy Markdown
Collaborator

In this PR, I have migrated the dependency management from poetry to uv, customizing the pyproject.toml
to properly compile the extension module with the uv build --wheel command

The build GitHub action still need to be adapted to drop poetry and use uv

@fccoelho fccoelho requested review from esloch and luabida November 29, 2024 17:56
@fccoelho fccoelho marked this pull request as ready for review November 29, 2024 18:23
@fccoelho fccoelho changed the title Migrating to uv feat(package): Migrating to uv Dec 2, 2024
Comment thread pyproject.toml
@luabida

luabida commented Dec 2, 2024

Copy link
Copy Markdown
Collaborator

You may also add uv in the conda deps so it can be installed in development and CI

run: uv build --wheel

- name: Lint with flake8
run: |

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This | character is needed so the CI can identify the next lines are related to the run command

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

nasty syntax!

Comment thread pyproject.toml Outdated
]
name = "pyreaddbc"
version = "1.1.0" # changed by semantic-release
version = "1.2.0"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

please change this line back to version = "1.1.0" # changed by semantic-release, it will be changed automatically when the release is triggered successfully

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.

2 participants