diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 19faa927c..a8041463f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,28 +1,30 @@ name: Release -on: - release: - types: [released, prereleased] +# on: +# release: +# types: [released, prereleased] + +on: [push] jobs: - tag-restriction: - name: Tag must match semantic versioning pattern - runs-on: ubuntu-latest - environment: release - steps: - - shell: bash - run: | - if ! [[ "${GITHUB_REF_NAME}" =~ ^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-rc\.(1|[1-9][0-9]*))?$ ]]; then - exit -1 - fi + # tag-restriction: + # name: Tag must match semantic versioning pattern + # runs-on: ubuntu-latest + # environment: release + # steps: + # - shell: bash + # run: | + # if ! [[ "${GITHUB_REF_NAME}" =~ ^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-rc\.(1|[1-9][0-9]*))?$ ]]; then + # exit -1 + # fi build: name: Build package distributions runs-on: ubuntu-latest - environment: release + # environment: release permissions: contents: read - needs: tag-restriction + # needs: tag-restriction steps: - uses: actions/checkout@v4 @@ -30,18 +32,21 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 + # cache - name: Build skore-ui and share library shell: bash run: make build-skore-ui - name: Override VERSION.txt with tag - run: echo "${GITHUB_REF_NAME}" > skore/VERSION.txt + # run: echo "${GITHUB_REF_NAME}" > skore/VERSION.txt + run: echo "0.0.0-rc.1" > skore/VERSION.txt - name: Set up Python 3.12 uses: actions/setup-python@v5 with: python-version: "3.12" + # cache - name: Build package distributions run: | @@ -65,7 +70,7 @@ jobs: publish: name: Publish package distributions to TestPyPI using trusted publisher runs-on: ubuntu-latest - environment: release + # environment: release permissions: id-token: write needs: build @@ -76,15 +81,16 @@ jobs: name: python-package-distributions path: dist/ - - name: Publish package distributions to TestPyPI + - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: verify-metadata: false + repository-url: https://test.pypi.org/legacy/ clean: name: Delete package distributions artifacts runs-on: ubuntu-latest - environment: release + # environment: release if: always() needs: publish steps: diff --git a/skore/README.md b/skore/README.md index 8e12397ac..926aa7286 100644 --- a/skore/README.md +++ b/skore/README.md @@ -7,11 +7,11 @@ ## Installation For now, the only supported method to use skore is from source. -Follow the instructions in [CONTRIBUTING.md](/CONTRIBUTING.md#quick-start) to install dependencies and start the UI. +Follow the instructions in [CONTRIBUTING.md](https://github.com/probabl-ai/skore/blob/main/CONTRIBUTING.md#quick-start) to install dependencies and start the UI. ## Quick start -For a complete introductory example, see our [basic usage notebook](/examples/basic_usage.ipynb). The resulting skore report has been exported to [this HTML file](https://gist.github.com/augustebaum/6b21dbd7f7d5a584fbf2c1956692574e): download it and open it in your browser to visualize it. +For a complete introductory example, see our [basic usage notebook](https://github.com/probabl-ai/skore/blob/main/examples/basic_usage.ipynb). The resulting skore report has been exported to [this HTML file](https://gist.github.com/augustebaum/6b21dbd7f7d5a584fbf2c1956692574e): download it and open it in your browser to visualize it. In your shell, run the following to create a project file `project.skore` (the default) in your current working directory: ```sh @@ -76,4 +76,4 @@ In the future, you will be able to: ## Contributing -See [CONTRIBUTING.md](/CONTRIBUTING.md) for more information and to contribute to the evolution of this library. +See [CONTRIBUTING.md](https://github.com/probabl-ai/skore/blob/main/CONTRIBUTING.md) for more information and to contribute to the evolution of this library. diff --git a/skore/pyproject.toml b/skore/pyproject.toml index 976718917..aced3ab4c 100644 --- a/skore/pyproject.toml +++ b/skore/pyproject.toml @@ -27,8 +27,6 @@ classifiers=[ "Operating System :: Unix", "Operating System :: MacOS", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12" ]