-
Notifications
You must be signed in to change notification settings - Fork 110
PySQL Connector split into connector and sqlalchemy #444
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
Merged
Merged
Changes from 19 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
9cb1ea3
Modified the gitignore file to not have .idea file
jprakash-db 4099939
[PECO-1803] Splitting the PySql connector into the core and the non c…
jprakash-db a022590
Changed the folder structure such that sqlalchemy has not reference here
jprakash-db af47301
Fixed README.md and CONTRIBUTING.md
jprakash-db 64b2818
Added manual publish
jprakash-db 44b52ac
On push trigger added
jprakash-db 8db3fd0
Manually setting the publish step
jprakash-db 3d1ef79
Changed versioning in pyproject.toml
jprakash-db ee7f1e3
Bumped up the version to 4.0.0.b3 and also changed the structure to h…
jprakash-db 608d237
Removed the sqlalchemy tests from integration.yml file
jprakash-db 85af9c0
[PECO-1803] Print warning message if pyarrow is not installed (#468)
jackyhu-db 38ffa95
[PECO-1803] Remove sqlalchemy and update README.md (#469)
jackyhu-db 6ce555a
Removed all sqlalchemy related stuff
jprakash-db 87b1251
generated the lock file
jprakash-db e09a880
Resolved merge conflicts
jprakash-db f9cafe5
Fixed failing tests
jprakash-db e4205cc
removed poetry.lock
jprakash-db 3853b76
Updated the lock file
jprakash-db 8f70b5b
Fixed poetry numpy 2.2.2 issue
jprakash-db 3fc4e01
Workflow fixes
jprakash-db a63ece8
Fixed merge conflicts
jprakash-db File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
name: Publish to PyPI Manual [Production] | ||
|
||
# Allow manual triggering of the workflow | ||
on: | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
publish: | ||
name: Publish | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
#---------------------------------------------- | ||
# Step 1: Check out the repository code | ||
#---------------------------------------------- | ||
- name: Check out repository | ||
uses: actions/checkout@v2 # Check out the repository to access the code | ||
|
||
#---------------------------------------------- | ||
# Step 2: Set up Python environment | ||
#---------------------------------------------- | ||
- name: Set up python | ||
id: setup-python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 # Specify the Python version to be used | ||
|
||
#---------------------------------------------- | ||
# Step 3: Install and configure Poetry | ||
#---------------------------------------------- | ||
- name: Install Poetry | ||
uses: snok/install-poetry@v1 # Install Poetry, the Python package manager | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
installer-parallel: true | ||
|
||
# #---------------------------------------------- | ||
# # Step 4: Load cached virtual environment (if available) | ||
# #---------------------------------------------- | ||
# - name: Load cached venv | ||
# id: cached-poetry-dependencies | ||
# uses: actions/cache@v2 | ||
# with: | ||
# path: .venv # Path to the virtual environment | ||
# key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ github.event.repository.name }}-${{ hashFiles('**/poetry.lock') }} | ||
# # Cache key is generated based on OS, Python version, repo name, and the `poetry.lock` file hash | ||
|
||
# #---------------------------------------------- | ||
# # Step 5: Install dependencies if the cache is not found | ||
# #---------------------------------------------- | ||
# - name: Install dependencies | ||
# if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' # Only run if the cache was not hit | ||
# run: poetry install --no-interaction --no-root # Install dependencies without interaction | ||
|
||
# #---------------------------------------------- | ||
# # Step 6: Update the version to the manually provided version | ||
# #---------------------------------------------- | ||
# - name: Update pyproject.toml with the specified version | ||
# run: poetry version ${{ github.event.inputs.version }} # Use the version provided by the user input | ||
|
||
#---------------------------------------------- | ||
# Step 7: Build and publish the first package to PyPI | ||
#---------------------------------------------- | ||
- name: Build and publish databricks sql connector to PyPI | ||
working-directory: ./databricks_sql_connector | ||
run: | | ||
poetry build | ||
poetry publish -u __token__ -p ${{ secrets.PROD_PYPI_TOKEN }} # Publish with PyPI token | ||
#---------------------------------------------- | ||
# Step 7: Build and publish the second package to PyPI | ||
#---------------------------------------------- | ||
|
||
- name: Build and publish databricks sql connector core to PyPI | ||
working-directory: ./databricks_sql_connector_core | ||
run: | | ||
poetry build | ||
poetry publish -u __token__ -p ${{ secrets.PROD_PYPI_TOKEN }} # Publish with PyPI token |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.