Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix release workflow. #252

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
29 changes: 15 additions & 14 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,20 +97,21 @@ jobs:
name: wheels
path: dist

# test_release:
# name: Test release.
# needs: [linux, windows, macos, sdist]
# runs-on: ubuntu-latest
# steps:
# - uses: actions/download-artifact@v3
# with:
# name: wheels
# path: dist
# - name: Publish distribution 📦 to Test PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
# repository-url: https://test.pypi.org/legacy/
test_release:
name: Test release.
needs: [linux, macos, sdist]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
with:
name: wheels
path: dist
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
skip-existing: true

release:
name: Release
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 14 additions & 29 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ description = "Argoverse 2: Next generation datasets for self-driving perception
requires-python = ">=3.8"
license = { file = "LICENSE" }
keywords = [
"argoverse",
"argoverse2",
"autonomous-driving",
"av1",
"av2",
"3d-object-detection",
"3d-scene-flow",
"4d-occupancy-forecasting",
"e2e-forecasting",
"motion-forecasting",
"argoverse",
"argoverse2",
"autonomous-driving",
"av1",
"av2",
"3d-object-detection",
"3d-scene-flow",
"4d-occupancy-forecasting",
"e2e-forecasting",
"motion-forecasting",
]
classifiers = [
"License :: OSI Approved :: MIT License",
Expand Down Expand Up @@ -51,24 +51,11 @@ dependencies = [
"universal_pathlib",
]

dynamic = [
"authors",
"version"
]

readme = "README.md"
dynamic = ["authors", "description", "license", "readme", "version"]

[project.optional-dependencies]
lint = [
"black[jupyter]",
"mypy",
"ruff",
]
test = [
"pytest",
"pytest-benchmark",
"pytest-cov",
]
lint = ["black[jupyter]", "mypy", "ruff"]
test = ["pytest", "pytest-benchmark", "pytest-cov"]

[project.urls]
homepage = "https://argoverse.org"
Expand All @@ -79,9 +66,7 @@ features = ["pyo3/extension-module"]
module-name = "av2._r"

[tool.ruff]
select = [
"D",
]
select = ["D"]

[tool.ruff.pydocstyle]
convention = "google"
Expand Down
5 changes: 4 additions & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[package]
name = "av2"
version = "0.3.0"
version = "0.3.2"
edition = "2021"
homepage = "https://github.com/argoverse/av2-api"
readme = "../README.md"
repository = "https://github.com/argoverse/av2-api"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
Expand Down
Loading