Skip to content

Commit

Permalink
Merge branch 'main' into remove-setuppy
Browse files Browse the repository at this point in the history
  • Loading branch information
arturo-seijas authored Apr 25, 2024
2 parents 69472c7 + 805ec37 commit 50de114
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ jobs:
with:
pre-run-script: .github/test-pre-script.sh
self-hosted-runner: true
self-hosted-runner-label: "jammy"
self-hosted-runner-label: "edge"
provider: lxd
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
with:
pre-run-script: .github/test-pre-script.sh
self-hosted-runner: true
self-hosted-runner-label: "jammy"
self-hosted-runner-label: "edge"
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ but groups are a very useful feature for Indico. This plugin provides a solution

## Installation

### Development
This package is managed though [Poetry](https://python-poetry.org/). You can run `poetry install` to run it and `poetry build` to build it.


### Package installation
You need to install the package on the same virtual environment as your Indico instance.
You might use the following commands to switch to the Indico environment
Expand All @@ -33,9 +37,7 @@ sudo bash install-libs.sh
You can then install this package either via local source:

```bash
git clone https://github.com/canonical/flask-multipass-saml-groups.git
cd flask-multipass-saml-groups
python setup.py install
poetry install
```

or with pip:
Expand Down
9 changes: 4 additions & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ flask-multipass = {extras = ["saml"], version = "0.5.4"}
# thus we must only specify compatibility rather than pinning the exact version
indico = ">=3.3.1, <4"
flask_sqlalchemy = "3.0.5"
xmlsec = "1.3.13"

[tool.poetry.plugins."indico.plugins"]
saml_groups = "flask_multipass_saml_groups.plugin:SAMLGroupsPlugin"
Expand Down

0 comments on commit 50de114

Please sign in to comment.