Skip to content

Commit

Permalink
Update dependencies in publish_on_pypi.yml and setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
lairgiyassir committed Jul 16, 2024
1 parent e74ec55 commit 63b9730
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/publish_on_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,27 @@ on:

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
python-version: '3.x'

- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
pip install build twine
- name: Build the package
run: |
python -m build
- name: Publish the package
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{secrets.PYPI_API_KEY}}
TWINE_PASSWORD: ${{ secrets.PYPI_API_KEY }}
run: |
git fetch --all --tags
python setup.py sdist bdist_wheel
twine upload dist/*
twine upload dist/*
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ install_requires =
langchain_openai==0.0.8
neo4j==5.12.0
numpy==1.24.4
openai
openpyxl
openai==1.35.7
openpyxl==3.1.5
pandas==2.0.3
pydantic_settings == 2.2.1
scikit_learn==1.3.2
Expand Down

0 comments on commit 63b9730

Please sign in to comment.