Skip to content
Open
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
22 changes: 11 additions & 11 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push]

jobs:
run-linter:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
# Intentionally disable running linter b/c it fails with many errors
if: github.ref_name == 'BLAH'
strategy:
Expand All @@ -13,14 +13,14 @@ jobs:

steps:
- name: Checkout this repository
uses: actions/checkout@v3
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
lfs: true

- name: Checkout actions repository
uses: actions/checkout@v3
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: Exabyte-io/actions
repository: mat3ra/actions
token: ${{ secrets.BOT_GITHUB_TOKEN }}
path: actions

Expand All @@ -31,7 +31,7 @@ jobs:


run-tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
container-name:
Expand All @@ -41,7 +41,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0

Expand All @@ -53,7 +53,7 @@ jobs:

- name: Download and Install Python 3.10 from Source
run: |
PYTHON_VERSION=3.10.12
PYTHON_VERSION=3.10.13
wget https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tgz
tar -xzf Python-$PYTHON_VERSION.tgz
cd Python-$PYTHON_VERSION
Expand Down Expand Up @@ -86,19 +86,19 @@ jobs:
needs:
# - run-linter
- run-tests
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
if: github.ref_name == 'dev'

steps:
- name: Checkout this repository
uses: actions/checkout@v3
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
lfs: true

- name: Checkout actions repository
uses: actions/checkout@v3
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: Exabyte-io/actions
repository: mat3ra/actions
token: ${{ secrets.BOT_GITHUB_TOKEN }}
path: actions

Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ __pycache__/

# C extensions
*.so
# Keep Python 3.10 Torque bindings (force-tracked; see MANIFEST.in)
!pbs/_pbs.cpython-310-*-linux-gnu.so

# Distribution / packaging
.Python
Expand Down Expand Up @@ -144,3 +146,6 @@ dmypy.json

# Cython debug symbols
cython_debug/

# Local clone of wrap sources used by scripts/build-pbs-c-bindings.sh
.surfsara-pbs-python/
3 changes: 1 addition & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
include pbs/_pbs.so
include pbs/_pbs.cpython-38-x86_64-linux-gnu.so
include pbs/_pbs.cpython-310-x86_64-linux-gnu.so
include pbs/_pbs.cpython-310-aarch64-linux-gnu.so
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# PBS Python

This is pip-package of [pbs_python 4.4.1](http://oss.trac.surfsara.nl/pbs_python)
by Bas van der Vlies (bas.vandervlies@surfsara.nl).
Native extensions from this package compiled on CentOS 7.5 with PBS Torque 5
installed on it and probably not compatible with other versions.
by Bas van der Vlies (bas.vandervlies@surfsara.nl).

Native `_pbs` extensions are built for Python 3.10 against Torque 6 on AlmaLinux 9
(`x86_64` and `aarch64`). See https://github.com/mat3ra/surfsara-pbs-python.
Binary file added pbs/_pbs.cpython-310-aarch64-linux-gnu.so
Binary file not shown.
Binary file modified pbs/_pbs.cpython-310-x86_64-linux-gnu.so
Binary file not shown.
Binary file removed pbs/_pbs.cpython-38-x86_64-linux-gnu.so
Binary file not shown.
Binary file removed pbs/_pbs.so
Binary file not shown.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "pbs-python"
dynamic = ["version"]
description = "Utils."
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.10"
license = {file = "LICENSE.md"}
authors = [
{name = "Exabyte Inc.", email = "info@mat3ra.com"}
Expand Down Expand Up @@ -54,7 +54,7 @@ where = ["."]

[tool.black]
line-length = 120
target-version = ['py38']
target-version = ['py310']
# 'extend-exclude' excludes files or directories in addition to the defaults
extend-exclude = '''
(
Expand All @@ -69,7 +69,7 @@ extend-exclude = [
# "src/js"
]
line-length = 120
target-version = "py38"
target-version = "py310"

[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
Expand Down