Skip to content

Commit

Permalink
try 0.6.12
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlKCarlK committed Nov 2, 2024
1 parent cdba6b0 commit 802c440
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 130 deletions.
38 changes: 16 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,24 @@ jobs:
- name: Install Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}

- name: Setup, Lint, and Test Python (Linux/macOS)
if: runner.os != 'Windows'
- name: Pinned Ruff
run: uvx [email protected] check
- name: Lastest Ruff (just to check for warnings)
run: uvx ruff@latest check || echo "Ignoring warnings from the latest version of ruff"
- name: Install dependencies
run: uv sync --all-extras --prerelease allow
- name: Run test
shell: bash
run: |
uvx [email protected] check
uvx ruff@latest check || echo "Ignoring warnings from the latest version of ruff"
uv sync --all-extras --prerelease allow
source .venv/bin/activate
cd tests
python test.py
cd ..
uv build
- name: Setup, Lint, and Test Python (Windows)
if: runner.os == 'Windows'
run: |
uvx [email protected] check
uvx ruff@latest check || echo "Ignoring warnings from the latest version of ruff"
uv sync --all-extras --prerelease allow
.venv\Scripts\activate
cd tests
python test.py
cd ..
uv build
if [[ "$RUNNER_OS" != "Windows" ]]; then
source .venv/bin/activate
else
source .venv/Scripts/activate
fi
python tests/test.py
- name: Build
run: uv build
- name: Save SDist
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13'
uses: actions/upload-artifact@v4
Expand Down
18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[build-system]
requires = [
"numpy>=1.17.0",
"setuptools",
"cython",
"wheel",
"scipy",
] # cmk add versions
"numpy>=1.22.0",
"setuptools>=42.0.0",
"cython>=0.29.0",
"wheel>=0.34.0",
"scipy>=1.5.0",
]
build-backend = "setuptools.build_meta"

[project]
name = "fastlmm"
version = "0.6.12-alpha.1"
version = "0.6.12"
description = "Fast GWAS"
readme = "README.md"
requires-python = ">=3.10"
Expand Down Expand Up @@ -41,8 +41,8 @@ dependencies = [
"cloudpickle>=3.1.0",
"statsmodels>=0.14.2",
"psutil>=6.1.0",
"pysnptools>=0.5.14a1", #cmk
"fastlmmclib>=0.0.7a1", #cmk
"pysnptools>=0.5.14",
"fastlmmclib>=0.0.7",
]
[project.urls]
homepage = "https://fastlmm.github.io/"
Expand Down
99 changes: 0 additions & 99 deletions setup.py

This file was deleted.

25 changes: 25 additions & 0 deletions useful.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,31 @@
uv sync --extra dev --prerelease allow
```

```bash
cd doc
make.bat html
build\html\index.html
xcopy /c /e /s /h build\html ..\docs
cd ..
```

* Download and extract wheel artifacts from GitHub.

```bash
cd /d "C:\Users\carlk\Downloads\wheels (46)"
twine upload fastlmm*
```

Create a local distribution"

```bash
uv build
twine upload dist/fastlmm-0.????.tar.gz

```

## Old

```bash
python setup.py sdist
twine upload dist/*.tar.gz
Expand Down

0 comments on commit 802c440

Please sign in to comment.