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
10 changes: 1 addition & 9 deletions .github/workflows/pr-privileged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,8 @@ jobs:
runs-on: [ self-hosted, Linux ]
needs: is-safe-to-test
if: ${{ needs.is-safe-to-test.outputs.is_safe == 'true' }}
strategy:
matrix:
python-version: [ 3.9, 3.11 ]
include:
- python-version: 3.9
image: python:3.9.18
- python-version: 3.11
image: python:3.11.8
container:
image: ${{ matrix.image }}
image: python:3.11
steps:
- uses: actions/checkout@v3
with:
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,35 +21,29 @@ on: pull_request

jobs:
lint:
name: Lint code (Python ${{ matrix.python-version }})
name: Lint code
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.9, 3.11 ]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: 3.11
cache: pip
- name: Install dependencies
run: make dev-env
- name: Lint
run: make lint

test:
name: Unit tests (Python ${{ matrix.python-version }})
name: Unit tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.9, 3.11 ]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: 3.11
cache: pip
- name: Install dependencies
run: make dev-env
Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,35 +23,8 @@ on:
- created

jobs:
# TODO: remove once 1.8.x is discontinued
release-1-8-x:
runs-on: ubuntu-latest
if: github.ref_name == '1.8.x'
container:
image: python:3.9
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: make dev-env
- name: lint
run: make lint
- name: test
run: make test
- name: Set version
run: make set-version
- name: Build binary wheel and source tarball
run: make dist
- name: Install publish dependencies
run: python -m pip install twine~=6.1
- name: Push to pypi
run: |
export TWINE_USERNAME=__token__
export TWINE_PASSWORD=${{ secrets.PYPI_TOKEN }}
python -m twine upload dist/storey-*.whl

release:
runs-on: ubuntu-latest
if: github.ref_name != '1.8.x' # TODO: remove once 1.8.x is discontinued
container:
image: python:3.11
steps:
Expand Down
4 changes: 2 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: 3.9
python: 3.11

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand All @@ -12,7 +12,7 @@ sphinx:
formats: all

python:
version: 3.9
version: 3.11
install:
- requirements: requirements.txt
- requirements: dev-requirements.txt
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def load_deps(file_name):
license="Apache",
url="https://github.com/mlrun/storey",
packages=find_packages(include=["storey*"]),
python_requires=">=3.9",
python_requires=">=3.11",
install_requires=install_requires,
extras_require=extras_require,
classifiers=[
Expand All @@ -71,7 +71,7 @@ def load_deps(file_name):
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
Expand Down