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
15 changes: 8 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Documentation
on:
push:
branches: [main]
tags: ["*"]
pull_request:
branches: [main]

Expand All @@ -14,18 +15,18 @@ jobs:
name: Build Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- uses: julia-actions/setup-julia@v2
- uses: julia-actions/setup-julia@v3
with:
version: "1.12"

- uses: julia-actions/cache@v2
- uses: julia-actions/cache@v3

- name: Install Julia dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- uses: julia-actions/julia-buildpkg@v1

- name: Build docs
run: julia --project=docs/ docs/make.jl
- uses: julia-actions/julia-docdeploy@v1
env:
GKSwstype: nul
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
1 change: 1 addition & 0 deletions .github/workflows/tagbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ jobs:
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Improved type stability across TMSV, SPDC, ZALM, SIGSAG, and tools modules by giving explicit return types to

### Fixed

- The Python wrapper failed to import with recent juliacall releases: `juliacall.Pkg` was removed after 0.9.31 (now activated via Julia's own `Pkg`), and newer juliacall/PythonCall versions force Julia ≤ 1.11, incompatible with Genqo's Julia 1.12 requirement (juliacall is now pinned to 0.9.31).

## [1.2.0] - 2026-04-30

### Added
Expand Down
5 changes: 5 additions & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ makedocs(
checkdocs = :exports,
plugins=[bib],
)

deploydocs(
repo = "github.com/QuantumSavory/Genqo.jl.git",
push_preview = true,
)
4 changes: 2 additions & 2 deletions python/genqo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from juliacall import Main as jl
from juliacall import Pkg as jlPkg

jlPkg.activate(".")
jl.seval("import Pkg")
jl.Pkg.activate(".")
jl.seval("using Genqo")

from .genqo import GenqoBase, TMSV, SPDC, ZALM, SIGSAG, k_function_matrix
5 changes: 4 additions & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ classifiers = [
]

dependencies = [
"juliacall>=0.9.31",
# juliacall is pinned because it pins PythonCall to its own version, and PythonCall
# releases after 0.9.31 declare compat with Julia <= 1.11 only, while Genqo.jl
# requires Julia 1.12
"juliacall==0.9.31",
"attrs>=25.4.0",
"numpy>=2.3.0",
]
Expand Down
Loading