feat: switch pruna from poetry to uv#165
Conversation
|
It seems to me that we don't need to update any documentation files, as they are quite general and not tied specifically to poetry. What do you think? @johnrachwan123 |
|
Hi @GreatBahram, the PR looks good. Could you change it in such a way that changes in the github files also trigger tests? Or could you create a small commit to "fake" trigger the tests, which we could revert after. |
I created a placeholder file in this commit; let's see if that helps. If not, we can add Update: It seems most of workflows run only if they're target main branch |
925b751 to
2aed34e
Compare
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v3...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [abatilo/actions-poetry](https://github.com/abatilo/actions-poetry) from 2 to 4. - [Release notes](https://github.com/abatilo/actions-poetry/releases) - [Changelog](https://github.com/abatilo/actions-poetry/blob/master/.releaserc) - [Commits](abatilo/actions-poetry@v2...v4) --- updated-dependencies: - dependency-name: abatilo/actions-poetry dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a0de480 to
e2eeecb
Compare
…I#199) Updates the requirements on [ctranslate2](https://github.com/OpenNMT/CTranslate2) to permit the latest version. - [Release notes](https://github.com/OpenNMT/CTranslate2/releases) - [Changelog](https://github.com/OpenNMT/CTranslate2/blob/master/CHANGELOG.md) - [Commits](OpenNMT/CTranslate2@v4.5.0...v4.6.0) --- updated-dependencies: - dependency-name: ctranslate2 dependency-version: 4.6.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…to-uv' into feat/switch-pruna-from-poetry-to-uv
|
@GreatBahram currently the linting test still fails. Any idea why ? |
|
|
||
| - name: Remove .so files | ||
| run: find . -name "*.so" -delete | ||
| # - name: Remove .so files |
There was a problem hiding this comment.
@johnrachwan123 Not sure if it's related to this or not 🤷
There was a problem hiding this comment.
It seems that was it; it's in your hands now @johnrachwan123
d2d6473 to
1245fcd
Compare
…runa-from-poetry-to-uv
johnrachwan123
left a comment
There was a problem hiding this comment.
LGTM Thanks for the great work!
* feat: attempt to swtich pruna from poetry to uv * fix: uv installation * refactor: remove requirements.txt * format the pyproject.toml properly + point to the license file * change linting file to use uv * use latest version of checkout * use latest version of setup-python * change documentation file to use uv * use latest version of setup-python * change external_tests file to use uv * change internal_tests file to use uv + prefix previous command to use uv * change installation file to use uv * change package_buil;d file to use uv + add retention policy there * tests: update package build to uv * remove poetry from gitignore * format the pyproject.toml properly + point to the license file * change package_buil;d file to use uv + add retention policy there * reduce the diff * add alaki file (random file); hopefully to triggers most of the workflows * Delete src/pruna/alaki.py * build: bump actions/setup-python from 3 to 5 (#193) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v3...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build: bump abatilo/actions-poetry from 2 to 4 (#195) Bumps [abatilo/actions-poetry](https://github.com/abatilo/actions-poetry) from 2 to 4. - [Release notes](https://github.com/abatilo/actions-poetry/releases) - [Changelog](https://github.com/abatilo/actions-poetry/blob/master/.releaserc) - [Commits](abatilo/actions-poetry@v2...v4) --- updated-dependencies: - dependency-name: abatilo/actions-poetry dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build: bump actions/cache from 3 to 4 (#196) Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build: bump actions/checkout from 3 to 4 (#194) Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update pyproject.toml * build: update ctranslate2 requirement from ==4.5.0 to ==4.6.0 (#199) Updates the requirements on [ctranslate2](https://github.com/OpenNMT/CTranslate2) to permit the latest version. - [Release notes](https://github.com/OpenNMT/CTranslate2/releases) - [Changelog](https://github.com/OpenNMT/CTranslate2/blob/master/CHANGELOG.md) - [Commits](OpenNMT/CTranslate2@v4.5.0...v4.6.0) --- updated-dependencies: - dependency-name: ctranslate2 dependency-version: 4.6.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * this is gone on main * enable caching in order to expedite the installtion time * just a test * Remove commented-out step for deleting .so files from linting workflow --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: johnrachwan123 <johnrachwan@gmail.com> Co-authored-by: David Berenstein <david.m.berenstein@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: attempt to swtich pruna from poetry to uv * fix: uv installation * refactor: remove requirements.txt * tests: update package build to uv * docs: update the how to contribute docs * docs: expand how to contribute * fix: ctranslate2 and ws2t versions * feat: switch pruna from poetry to uv (#165) * feat: attempt to swtich pruna from poetry to uv * fix: uv installation * refactor: remove requirements.txt * format the pyproject.toml properly + point to the license file * change linting file to use uv * use latest version of checkout * use latest version of setup-python * change documentation file to use uv * use latest version of setup-python * change external_tests file to use uv * change internal_tests file to use uv + prefix previous command to use uv * change installation file to use uv * change package_buil;d file to use uv + add retention policy there * tests: update package build to uv * remove poetry from gitignore * format the pyproject.toml properly + point to the license file * change package_buil;d file to use uv + add retention policy there * reduce the diff * add alaki file (random file); hopefully to triggers most of the workflows * Delete src/pruna/alaki.py * build: bump actions/setup-python from 3 to 5 (#193) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v3...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build: bump abatilo/actions-poetry from 2 to 4 (#195) Bumps [abatilo/actions-poetry](https://github.com/abatilo/actions-poetry) from 2 to 4. - [Release notes](https://github.com/abatilo/actions-poetry/releases) - [Changelog](https://github.com/abatilo/actions-poetry/blob/master/.releaserc) - [Commits](abatilo/actions-poetry@v2...v4) --- updated-dependencies: - dependency-name: abatilo/actions-poetry dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build: bump actions/cache from 3 to 4 (#196) Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build: bump actions/checkout from 3 to 4 (#194) Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update pyproject.toml * build: update ctranslate2 requirement from ==4.5.0 to ==4.6.0 (#199) Updates the requirements on [ctranslate2](https://github.com/OpenNMT/CTranslate2) to permit the latest version. - [Release notes](https://github.com/OpenNMT/CTranslate2/releases) - [Changelog](https://github.com/OpenNMT/CTranslate2/blob/master/CHANGELOG.md) - [Commits](OpenNMT/CTranslate2@v4.5.0...v4.6.0) --- updated-dependencies: - dependency-name: ctranslate2 dependency-version: 4.6.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * this is gone on main * enable caching in order to expedite the installtion time * just a test * Remove commented-out step for deleting .so files from linting workflow --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: johnrachwan123 <johnrachwan@gmail.com> Co-authored-by: David Berenstein <david.m.berenstein@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: pin hqq version * fix: handle pr comments * fix: typo in installation.yaml * fix: typos in yaml files * fix: use uv add * fix: add --system to pip install * fix: add uv venv * fix: keep one extra index in toml file * fix: attempt to make pruna pypi server secondary * fix: add uv venv to documentation.yaml * fix: attempt to fix problematic gptqmodel dependency * fix: remove cache for sanity check * fix: remove duplicate line * fix: remove extra index * fix: use_cache=True * fix: remove uv from doc build --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: David Berenstein <david.m.berenstein@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Description
Related Issue
Fixes #(issue number)
Type of Change
How Has This Been Tested?
Checklist
Additional Notes