- Notifications
You must be signed in to change notification settings - Fork126
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
21 commits Select commitHold shift + click to select a range
9cb1ea3 Modified the gitignore file to not have .idea file
jprakash-db4099939 [PECO-1803] Splitting the PySql connector into the core and the non c…
jprakash-dba022590 Changed the folder structure such that sqlalchemy has not reference here
jprakash-dbaf47301 Fixed README.md and CONTRIBUTING.md
jprakash-db64b2818 Added manual publish
jprakash-db44b52ac On push trigger added
jprakash-db8db3fd0 Manually setting the publish step
jprakash-db3d1ef79 Changed versioning in pyproject.toml
jprakash-dbee7f1e3 Bumped up the version to 4.0.0.b3 and also changed the structure to h…
jprakash-db608d237 Removed the sqlalchemy tests from integration.yml file
jprakash-db85af9c0 [PECO-1803] Print warning message if pyarrow is not installed (#468)
jackyhu-db38ffa95 [PECO-1803] Remove sqlalchemy and update README.md (#469)
jackyhu-db6ce555a Removed all sqlalchemy related stuff
jprakash-db87b1251 generated the lock file
jprakash-dbe09a880 Resolved merge conflicts
jprakash-dbf9cafe5 Fixed failing tests
jprakash-dbe4205cc removed poetry.lock
jprakash-db3853b76 Updated the lock file
jprakash-db8f70b5b Fixed poetry numpy 2.2.2 issue
jprakash-db3fc4e01 Workflow fixes
jprakash-dba63ece8 Fixed merge conflicts
jprakash-dbFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
51 changes: 51 additions & 0 deletions.github/workflows/code-quality-checks.yml
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
2 changes: 0 additions & 2 deletions.github/workflows/integration.yml
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
78 changes: 78 additions & 0 deletions.github/workflows/publish-manual.yml
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 |
2 changes: 1 addition & 1 deletion.gitignore
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
5 changes: 5 additions & 0 deletionsCHANGELOG.md
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
3 changes: 0 additions & 3 deletionsCONTRIBUTING.md
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
23 changes: 20 additions & 3 deletionsREADME.md
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
174 changes: 0 additions & 174 deletionsexamples/sqlalchemy.py
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
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.