Skip to content

Commit

Permalink
Feature/add boto3 fix pypi (#1151)
Browse files Browse the repository at this point in the history
* add boto3

* explain feature add
  • Loading branch information
emrgnt-cmplxty authored Sep 12, 2024
1 parent 16eb957 commit 873b660
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
working-directory: ./py
run: |
poetry build
poetry publish -r testpypi --username __token__ --password ${{ secrets.TEST_PYPI_API_TOKEN }}
poetry publish -r https://test.pypi.org/legacy/ --username __token__ --password ${{ secrets.TEST_PYPI_API_TOKEN }}
- name: Build and publish to PyPI
if: github.event_name == 'workflow_dispatch' # Publish to real PyPI only on manual trigger
working-directory: ./py
run: |
poetry build
poetry publish --username __token__ --password ${{ secrets.PYPI_API_TOKEN }}
poetry publish --username __token__ --password ${{ secrets.PYPI_API_TOKEN }}
68 changes: 67 additions & 1 deletion py/poetry.lock

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

19 changes: 9 additions & 10 deletions py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,19 @@ packages = [
# Python Versions
python = ">=3.10,<3.13"


boto3 = "^1.35.17" # for AWS bedrock support
click = "^8.0.0"
fastapi = "^0.109.2"
hatchet-sdk = "^0.36.13"
httpx = "^0.27.0"
nest-asyncio = "^1.6.0"
fastapi = "^0.109.2"
requests = "^2.31.0"
types-requests = "^2.31.0"
click = "^8.0.0"
numpy = ">=1.22.4,<1.29.0"
python-dotenv = "^1.0.1"
hatchet-sdk = "^0.36.13"
requests = "^2.31.0"
toml = "^0.10.2"
types-requests = "^2.31.0"
unstructured-client = "^0.25.5"
numpy = ">=1.22.4,<1.29.0"

# Core dependencies (optional)
future = { version = "^1.0.0", optional = true }
Expand Down Expand Up @@ -135,7 +137,4 @@ testpaths = [
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::pytest.PytestUnraisableExceptionWarning",
]

[tool.poetry.repositories.testpypi]
url = "https://test.pypi.org/legacy/"
]

0 comments on commit 873b660

Please sign in to comment.