Skip to content

Commit 62b315c

Browse files
authored
Merge pull request #990 from sanders41/remove-pixi
Remove pixi as an option
2 parents 0bc97e2 + 42ee6ce commit 62b315c

10 files changed

+5
-524
lines changed

.github/workflows/testing.yml

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -409,73 +409,3 @@ jobs:
409409
working-directory: ${{ env.WORKING_DIR }}
410410
if: matrix.project_type == 'application'
411411
run: python -m pytest
412-
pixi-linting:
413-
strategy:
414-
fail-fast: false
415-
matrix:
416-
project_type: ["application", "lib"]
417-
runs-on: ubuntu-latest
418-
steps:
419-
- uses: actions/checkout@v6
420-
- name: install Rust
421-
uses: dtolnay/rust-toolchain@stable
422-
- name: Cache Rust dependencies
423-
uses: Swatinem/[email protected]
424-
- name: Build package
425-
run: cargo build --release
426-
- name: Run creation
427-
run: ./scripts/ci_run.sh ${{ matrix.project_type }} 5
428-
shell: bash
429-
- name: Install Pixi
430-
uses: prefix-dev/[email protected]
431-
with:
432-
manifest-path: ${{ env.WORKING_DIR }}/pyproject.toml
433-
pixi-version: v0.57.0
434-
- name: Set up Python
435-
working-directory: ${{ env.WORKING_DIR }}
436-
run: pixi add python=="${{ env.MIN_PYTHON_VERSION }}.*"
437-
- name: MyPy
438-
working-directory: ${{ env.WORKING_DIR }}
439-
run: pixi run -e dev mypy .
440-
- name: ruff check
441-
working-directory: ${{ env.WORKING_DIR }}
442-
run: pixi run -e dev ruff check .
443-
- name: ruff format
444-
working-directory: ${{ env.WORKING_DIR }}
445-
run: pixi run -e dev ruff format --check .
446-
pixi-test:
447-
strategy:
448-
fail-fast: false
449-
matrix:
450-
project_type: ["application", "lib"]
451-
os: [ubuntu-latest, windows-latest]
452-
runs-on: ${{ matrix.os }}
453-
steps:
454-
- uses: actions/checkout@v6
455-
- name: install Rust
456-
uses: dtolnay/rust-toolchain@stable
457-
- name: Cache Rust dependencies
458-
uses: Swatinem/[email protected]
459-
- name: Build package
460-
run: cargo build --release
461-
- name: Run creation
462-
run: ./scripts/ci_run.sh ${{ matrix.project_type }} 5
463-
shell: bash
464-
- name: Install Pixi
465-
uses: prefix-dev/[email protected]
466-
with:
467-
manifest-path: ${{ env.WORKING_DIR }}/pyproject.toml
468-
pixi-version: v0.57.0
469-
- name: Set up Python
470-
working-directory: ${{ env.WORKING_DIR }}
471-
run: pixi add python=="${{ env.MIN_PYTHON_VERSION }}.*"
472-
- name: Pre-commit check
473-
working-directory: ${{ env.WORKING_DIR }}
474-
run: |
475-
pixi run -e dev pre-commit install
476-
git add .
477-
pixi run -e dev pre-commit run --all-files
478-
- name: Test with pytest
479-
working-directory: ${{ env.WORKING_DIR }}
480-
if: matrix.project_type == 'application'
481-
run: pixi run -e dev pytest

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ For package management choose between:
1414
- [poetry](https://python-poetry.org/)
1515
- [setuptools](https://github.com/pypa/setuptools)
1616
- [uv](https://docs.astral.sh/uv/)
17-
- [pixi](https://prefix.dev/)
1817

1918
Dev packages:
2019

src/fastapi/docker_files.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,6 @@ ENTRYPOINT ["./entrypoint.sh"]
802802
bail!("A PyO3 python manager is required for Maturin projects")
803803
}
804804
}
805-
ProjectManager::Pixi => bail!("Pixi is not currently supported for FastAPI projects"),
806805
}
807806
}
808807

src/fastapi/fastapi_installer.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ pub fn install_fastapi_dependencies(project_info: &ProjectInfo) -> Result<()> {
2626
ProjectManager::Uv => uv_fastapi_dependency_installer(project_info)?,
2727
ProjectManager::Poetry => poetry_fastapi_dependency_installer(project_info)?,
2828
ProjectManager::Setuptools => setuptools_fastapi_dependency_installer(project_info)?,
29-
ProjectManager::Pixi => bail!("Pixi is not currently supported for FastAPI projects"),
3029
ProjectManager::Maturin => maturin_fastapi_dependency_installer(project_info)?,
3130
};
3231

0 commit comments

Comments
 (0)