Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 0 additions & 70 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -409,73 +409,3 @@ jobs:
working-directory: ${{ env.WORKING_DIR }}
if: matrix.project_type == 'application'
run: python -m pytest
pixi-linting:
strategy:
fail-fast: false
matrix:
project_type: ["application", "lib"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: install Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache Rust dependencies
uses: Swatinem/[email protected]
- name: Build package
run: cargo build --release
- name: Run creation
run: ./scripts/ci_run.sh ${{ matrix.project_type }} 5
shell: bash
- name: Install Pixi
uses: prefix-dev/[email protected]
with:
manifest-path: ${{ env.WORKING_DIR }}/pyproject.toml
pixi-version: v0.57.0
- name: Set up Python
working-directory: ${{ env.WORKING_DIR }}
run: pixi add python=="${{ env.MIN_PYTHON_VERSION }}.*"
- name: MyPy
working-directory: ${{ env.WORKING_DIR }}
run: pixi run -e dev mypy .
- name: ruff check
working-directory: ${{ env.WORKING_DIR }}
run: pixi run -e dev ruff check .
- name: ruff format
working-directory: ${{ env.WORKING_DIR }}
run: pixi run -e dev ruff format --check .
pixi-test:
strategy:
fail-fast: false
matrix:
project_type: ["application", "lib"]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: install Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache Rust dependencies
uses: Swatinem/[email protected]
- name: Build package
run: cargo build --release
- name: Run creation
run: ./scripts/ci_run.sh ${{ matrix.project_type }} 5
shell: bash
- name: Install Pixi
uses: prefix-dev/[email protected]
with:
manifest-path: ${{ env.WORKING_DIR }}/pyproject.toml
pixi-version: v0.57.0
- name: Set up Python
working-directory: ${{ env.WORKING_DIR }}
run: pixi add python=="${{ env.MIN_PYTHON_VERSION }}.*"
- name: Pre-commit check
working-directory: ${{ env.WORKING_DIR }}
run: |
pixi run -e dev pre-commit install
git add .
pixi run -e dev pre-commit run --all-files
- name: Test with pytest
working-directory: ${{ env.WORKING_DIR }}
if: matrix.project_type == 'application'
run: pixi run -e dev pytest
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ For package management choose between:
- [poetry](https://python-poetry.org/)
- [setuptools](https://github.com/pypa/setuptools)
- [uv](https://docs.astral.sh/uv/)
- [pixi](https://prefix.dev/)

Dev packages:

Expand Down
1 change: 0 additions & 1 deletion src/fastapi/docker_files.rs
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,6 @@ ENTRYPOINT ["./entrypoint.sh"]
bail!("A PyO3 python manager is required for Maturin projects")
}
}
ProjectManager::Pixi => bail!("Pixi is not currently supported for FastAPI projects"),
}
}

Expand Down
1 change: 0 additions & 1 deletion src/fastapi/fastapi_installer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ pub fn install_fastapi_dependencies(project_info: &ProjectInfo) -> Result<()> {
ProjectManager::Uv => uv_fastapi_dependency_installer(project_info)?,
ProjectManager::Poetry => poetry_fastapi_dependency_installer(project_info)?,
ProjectManager::Setuptools => setuptools_fastapi_dependency_installer(project_info)?,
ProjectManager::Pixi => bail!("Pixi is not currently supported for FastAPI projects"),
ProjectManager::Maturin => maturin_fastapi_dependency_installer(project_info)?,
};

Expand Down
Loading
Loading