Skip to content
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

Fix vulnerabilities and refactor some parts #216

Closed
4 of 5 tasks
ckunki opened this issue Jul 3, 2024 · 3 comments · Fixed by #217
Closed
4 of 5 tasks

Fix vulnerabilities and refactor some parts #216

ckunki opened this issue Jul 3, 2024 · 3 comments · Fixed by #217
Assignees
Labels
security Security related change

Comments

@ckunki
Copy link
Contributor

ckunki commented Jul 3, 2024

@ckunki
Copy link
Contributor Author

ckunki commented Jul 4, 2024

CI Build, job test-envs (CentOs7) reported

"Could not resolve host: mirrorlist.centos.org;"
See https://serverfault.com/questions/1161816/mirrorlist-centos-org-no-longer-resolve

This required to update CentOs7/Dockerfile

@ckunki
Copy link
Contributor Author

ckunki commented Jul 4, 2024

CentOs7 was removed from tested environments.

@ckunki
Copy link
Contributor Author

ckunki commented Jul 5, 2024

Downloading a newer version of exasol_python_test_framework via pip install with requirements.txt seems to download multiple version of pyodbc. Some of them containing python code in their file setup.py that is no longer valid for Python10:

Downloading pyodbc-2.1.11.zip (148 kB)
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 148.5/148.5 KB 46.2 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  error: subprocess-exited-with-error 
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-3jzw3vrq/pyodbc_9c9a5a6d9ab6402e8f96e9b086f7880e/setup.py", line 33
          print version_str
          ^^^^^^^^^^^^^^^^^
      SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
      [end of output]
    note: This error originates from a subprocess, and is likely not a problem with pip.

@ckunki ckunki changed the title Fix vulnerabilities Fix vulnerabilities and refactor some parts Jul 9, 2024
ckunki added a commit that referenced this issue Jul 9, 2024
…217)

* #216: Updated dependencies to fix vulnerabilities
* Updated dependencies and URL for centos 7 docker image
* Removed test for CentOs7
* Removed version spec for dependency requests in test/resources/test_container/full/build/deps/requirements.txt
* Updated URLS to drivers JDBC and ODBC and ExaPlus from Exasol website
* Updated file dependencies.md
* Updated tar command for extracting downloaded drivers and exaplus
* Updated path to ODBC driver
* Updated version of github actions/checkout
* Update documentation
* refactored test_run_db_test_builtin_languages.py
* Updated test-container OS to ubuntu:22.04
* Update pip in Docker TestContainer
* Use latest version of exasol-python-test-framework  from pypi
* Added file error_code_config.yml
* Removed file release_config.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security Security related change
Projects
None yet
2 participants