Skip to content

Commit a7d8124

Browse files
authored
Upgrade PPT version (#402)
1 parent 27e2015 commit a7d8124

File tree

8 files changed

+20
-24
lines changed

8 files changed

+20
-24
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v2.1.0
2+
_commit: v2.1.1
33
_src_path: gh:lincc-frameworks/python-project-template
44
author_email: [email protected]
55
author_name: LINCC Frameworks

.github/workflows/asv-main.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
env:
1111
PYTHON_VERSION: "3.11"
12-
ASV_VERSION: "0.6.4"
12+
ASV_VERSION: "0.6.5"
1313
WORKING_DIR: ${{github.workspace}}/benchmarks
1414

1515
concurrency:
@@ -34,9 +34,7 @@ jobs:
3434
with:
3535
fetch-depth: 0
3636
- name: Install dependencies
37-
run: |
38-
pip install asv==${{env.ASV_VERSION}}
39-
pip install virtualenv==20.30 # Temporary fix to airspeed-velocity/asv#1484
37+
run: pip install asv[virtualenv]==${{env.ASV_VERSION}}
4038
- name: Configure git
4139
run: |
4240
git config user.name "github-actions[bot]"

.github/workflows/asv-nightly.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
env:
1212
PYTHON_VERSION: "3.11"
13-
ASV_VERSION: "0.6.4"
13+
ASV_VERSION: "0.6.5"
1414
WORKING_DIR: ${{github.workspace}}/benchmarks
1515
NIGHTLY_HASH_FILE: nightly-hash
1616

@@ -30,9 +30,7 @@ jobs:
3030
with:
3131
fetch-depth: 0
3232
- name: Install dependencies
33-
run: |
34-
pip install asv==${{env.ASV_VERSION}}
35-
pip install virtualenv==20.30 # Temporary fix to airspeed-velocity/asv#1484
33+
run: pip install asv[virtualenv]==${{env.ASV_VERSION}}
3634
- name: Configure git
3735
run: |
3836
git config user.name "github-actions[bot]"

.github/workflows/asv-pr.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616

1717
env:
1818
PYTHON_VERSION: "3.11"
19-
ASV_VERSION: "0.6.4"
19+
ASV_VERSION: "0.6.5"
2020
WORKING_DIR: ${{github.workspace}}/benchmarks
2121
ARTIFACTS_DIR: ${{github.workspace}}/artifacts
2222

@@ -39,9 +39,7 @@ jobs:
3939
run: |
4040
echo "Workflow Run ID: ${{github.run_id}}"
4141
- name: Install dependencies
42-
run: |
43-
pip install asv==${{env.ASV_VERSION}} lf-asv-formatter
44-
pip install virtualenv==20.30 # Temporary fix to airspeed-velocity/asv#1484
42+
run: pip install asv[virtualenv]==${{env.ASV_VERSION}} lf-asv-formatter
4543
- name: Make artifacts directory
4644
run: mkdir -p ${{env.ARTIFACTS_DIR}}
4745
- name: Save pull request number

.github/workflows/pre-commit-ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ jobs:
2121
uses: actions/setup-python@v6
2222
with:
2323
python-version: '3.11'
24+
- name: Install uv
25+
uses: astral-sh/setup-uv@v7
2426
- name: Install dependencies
2527
run: |
2628
sudo apt-get update
27-
python -m pip install --upgrade pip
28-
pip install .[dev]
29-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29+
uv pip install --system .[dev]
30+
if [ -f requirements.txt ]; then uv pip install --system -r requirements.txt; fi
3031
- uses: pre-commit/[email protected]
3132
with:
3233
extra_args: --all-files --verbose

.github/workflows/smoke-test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ jobs:
2828
uses: actions/setup-python@v6
2929
with:
3030
python-version: ${{ matrix.python-version }}
31+
- name: Install uv
32+
uses: astral-sh/setup-uv@v7
3133
- name: Install dependencies
3234
run: |
3335
sudo apt-get update
34-
python -m pip install --upgrade pip
35-
pip install -e .[dev]
36-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
36+
uv pip install --system -e .[dev]
37+
if [ -f requirements.txt ]; then uv pip install --system -r requirements.txt; fi
3738
- name: List dependencies
3839
run: |
3940
pip list

.github/workflows/testing-and-coverage.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ jobs:
2424
uses: actions/setup-python@v6
2525
with:
2626
python-version: ${{ matrix.python-version }}
27+
- name: Install uv
28+
uses: astral-sh/setup-uv@v7
2729
- name: Install dependencies
2830
run: |
2931
sudo apt-get update
30-
python -m pip install --upgrade pip
31-
pip install -e .[dev]
32-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
32+
uv pip install --system -e .[dev]
33+
if [ -f requirements.txt ]; then uv pip install --system -r requirements.txt; fi
3334
- name: Run unit tests with pytest
3435
run: |
3536
python -m pytest --cov=nested_pandas --cov-report=xml

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ dependencies = [
3636
# On a mac, install optional dependencies with `pip install '.[dev]'` (include the single quotes)
3737
[project.optional-dependencies]
3838
dev = [
39-
"asv==0.6.5", # Used to compute performance benchmarks
40-
"virtualenv==20.30", # Temporary fix to airspeed-velocity/asv#1484
39+
"asv[virtualenv]==0.6.5", # Used to compute performance benchmarks
4140
"jupyter", # Clears output from Jupyter notebooks
4241
"mypy", # Used for static type checking of files
4342
"pre-commit", # Used to run checks before finalizing a git commit

0 commit comments

Comments
 (0)