Skip to content

Commit 018803d

Browse files
committed
Merge remote-tracking branch 'origin/dev' into mypy
2 parents c430807 + 3e7f790 commit 018803d

File tree

7 files changed

+772
-382
lines changed

7 files changed

+772
-382
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
2727
os: ["ubuntu-latest", "macos-latest", "windows-2022"]
2828
steps:
29-
- uses: actions/checkout@v5
30-
- uses: astral-sh/setup-uv@v6
29+
- uses: actions/checkout@v6
30+
- uses: astral-sh/setup-uv@v7
3131
with:
3232
python-version: ${{ matrix.python }}
3333
- name: Install solc-select and test dependencies

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
runs-on: ubuntu-latest
2222

2323
steps:
24-
- uses: actions/checkout@v5
24+
- uses: actions/checkout@v6
2525

26-
- uses: astral-sh/setup-uv@v6
26+
- uses: astral-sh/setup-uv@v7
2727

2828
- name: Install solc-select and test dependencies
2929
run: uv sync --extra dev

.github/workflows/pip-audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v5
21+
uses: actions/checkout@v6
2222

2323
- name: Install Python
2424
uses: actions/setup-python@v6

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v5
13+
- uses: actions/checkout@v6
1414

1515
- name: Set up Python
1616
uses: actions/setup-python@v6
@@ -24,7 +24,7 @@ jobs:
2424
python -m build
2525
2626
- name: Upload distributions
27-
uses: actions/upload-artifact@v4
27+
uses: actions/upload-artifact@v6
2828
with:
2929
name: solc-select-dists
3030
path: dist/
@@ -39,7 +39,7 @@ jobs:
3939
- build-release
4040
steps:
4141
- name: fetch dists
42-
uses: actions/download-artifact@v5
42+
uses: actions/download-artifact@v7
4343
with:
4444
name: solc-select-dists
4545
path: dist/
@@ -48,7 +48,7 @@ jobs:
4848
uses: pypa/[email protected]
4949

5050
- name: sign
51-
uses: sigstore/gh-action-sigstore-python@v3.0.1
51+
uses: sigstore/gh-action-sigstore-python@v3.2.0
5252
with:
5353
inputs: ./dist/*.tar.gz ./dist/*.whl
5454
release-signing-artifacts: true

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "solc-select"
7-
version = "1.1.0"
7+
version = "1.2.0"
88
dependencies = [
99
"pycryptodome>=3.4.6",
1010
"packaging",

tests/test_compiler_versions.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ def test_solc_080(self, test_contracts_dir: Any, isolated_solc_data: Any) -> Non
103103
f"solc080_fail_compile did not fail as expected. Output: {result.stdout}"
104104
)
105105

106+
def test_solc_0831_if_contains_prerelease(self, test_contracts_dir, isolated_solc_data):
107+
"""Test Solidity 0.8.31 compilation behavior."""
108+
# Switch to 0.8.31
109+
result = run_command("solc-select use 0.8.31 --always-install", check=False)
110+
assert result.returncode == 0, f"Failed to switch to 0.8.31: {result.stdout}"
111+
106112

107113
class TestVersionSwitching:
108114
"""Test version switching functionality."""

uv.lock

Lines changed: 756 additions & 372 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)