Skip to content

fix: update pyodbc dependency to fix sqlalchemy test - #8203

Merged
dandhlee merged 1 commit into
mainfrom
sqlalchemy-dependency
Jul 21, 2022
Merged

fix: update pyodbc dependency to fix sqlalchemy test#8203
dandhlee merged 1 commit into
mainfrom
sqlalchemy-dependency

Conversation

@kweinmeister

Copy link
Copy Markdown
Contributor

Updates pyodbc dependency in sqlalchemy sample to fix failing test:

------------------------------------------------------------
- testing /workspace/cloud-sql/sql-server/sqlalchemy
------------------------------------------------------------

 Using noxfile-template from parent folder (/workspace).

nox > Running session py-3.9
nox > Creating virtual environment (virtualenv) using python3.9 in .nox/py-3-9
No user noxfile_config found: detail: No module named 'noxfile_config'
nox > python -m pip install -r requirements.txt
nox > Command python -m pip install -r requirements.txt failed with exit code 1:
Collecting Flask==2.1.0
  Using cached Flask-2.1.0-py3-none-any.whl (95 kB)
Collecting gunicorn==20.1.0
  Using cached gunicorn-20.1.0-py3-none-any.whl (79 kB)
Collecting python-tds==1.11.0
  Downloading python-tds-1.11.0.tar.gz (68 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 68.9/68.9 kB 4.8 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
ERROR: Could not find a version that satisfies the requirement pyodbc==4.0.33 (from versions: 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.1.7, 2.1.8, 2.1.9, 2.1.10, 2.1.11, 3.0.3, 3.0.6, 3.0.7, 3.0.8, 3.0.9, 3.0.10, 3.1.1, 4.0.1, 4.0.2, 4.0.3, 4.0.5, 4.0.6, 4.0.7, 4.0.8, 4.0.9, 4.0.10, 4.0.11, 4.0.12, 4.0.13, 4.0.14, 4.0.15, 4.0.16, 4.0.17, 4.0.18, 4.0.19, 4.0.20, 4.0.21, 4.0.22, 4.0.23, 4.0.24, 4.0.25, 4.0.26, 4.0.27, 4.0.28, 4.0.30b1, 4.0.30, 4.0.31, 4.0.32, 4.0.34)
ERROR: No matching distribution found for pyodbc==4.0.33

[notice] A new release of pip available: 22.1.2 -> 22.2
[notice] To update, run: pip install --upgrade pip
nox > Session py-3.9 failed.
PWD: /workspace/cloud-sql/sql-server/sqlalchemy
[FlakyBot] Sending logs to Flaky Bot...
[FlakyBot] See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
[FlakyBot] Done!

 Testing failed: Nox returned a non-zero exit code.

@kweinmeister
kweinmeister requested a review from a team July 21, 2022 22:21
@kweinmeister
kweinmeister requested a review from a team as a code owner July 21, 2022 22:21
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Jul 21, 2022
@dandhlee

Copy link
Copy Markdown
Collaborator

Dependency update, admin merging.

@dandhlee
dandhlee merged commit 797dc75 into main Jul 21, 2022
@dandhlee
dandhlee deleted the sqlalchemy-dependency branch July 21, 2022 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants