Skip to content

Commit f8cd07b

Browse files
hbq1MctxDev
authored andcommitted
Update requirements and pypi workflow.
PiperOrigin-RevId: 802025431
1 parent 2ad6285 commit f8cd07b

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
python-version: ["3.10", "3.11", "3.12"]
16+
python-version: ["3.11", "3.12", "3.13"]
1717
os: [ubuntu-latest]
1818

1919
steps:
20-
- uses: "actions/checkout@v4"
21-
- uses: "actions/setup-python@v4"
20+
- uses: "actions/checkout@v5"
21+
- uses: "actions/setup-python@v5.3.0"
2222
with:
2323
python-version: "${{ matrix.python-version }}"
2424
- name: Run CI tests

.github/workflows/pypi-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
jobs:
88
deploy:
99
runs-on: ubuntu-latest
10+
permissions:
11+
id-token: write
1012
steps:
1113
- uses: actions/checkout@v4
1214
- name: Set up Python
@@ -25,10 +27,8 @@ jobs:
2527
then
2628
echo "package ver. ($PACKAGE_VER) != release ver. ($RELEASE_VER)"; exit 1
2729
fi
28-
- name: Build and publish
29-
env:
30-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
31-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
30+
- name: Build
3231
run: |
3332
python setup.py sdist bdist_wheel
34-
twine upload dist/*
33+
- name: Publish package distributions to PyPI
34+
uses: pypa/gh-action-pypi-publish@release/v1

mctx/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
from mctx._src.search import search
3838
from mctx._src.tree import Tree
3939

40-
__version__ = "0.0.5"
40+
__version__ = "0.0.6"
4141

4242
__all__ = (
4343
"ChanceRecurrentFnOutput",

requirements/requirements-test.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
absl-py>=0.9.0
2-
numpy>=1.18.0
1+
absl-py>=2.3.1
2+
numpy>=1.24.1

requirements/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
chex>=0.0.8
2-
jax>=0.4.25
3-
jaxlib>=0.4.25
1+
chex>=0.1.91
2+
jax>=0.7.0
3+
jaxlib>=0.7.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
absl-py>=0.9.0
1+
absl-py>=2.3.1
22
pygraphviz>=1.7

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def _parse_requirements(path):
5858
tests_require=_parse_requirements(
5959
os.path.join(_CURRENT_DIR, 'requirements', 'requirements-test.txt')),
6060
zip_safe=False, # Required for full installation.
61-
python_requires='>=3.9',
61+
python_requires='>=3.11',
6262
classifiers=[
6363
'Development Status :: 4 - Beta',
6464
'Intended Audience :: Science/Research',

0 commit comments

Comments
 (0)