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

Many SyntaxWarnings occur when using Python 3.8 #230

Open
MartinFlores751 opened this issue Aug 16, 2024 · 0 comments
Open

Many SyntaxWarnings occur when using Python 3.8 #230

MartinFlores751 opened this issue Aug 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MartinFlores751
Copy link
Contributor

Following is a brief view of the warnings, truncated, as the warnings are the same, just at different locations in the testing environment:

(irods_testing_environment) [irods_testing_environment]$ python stand_it_up.py --help
/home/user/Documents/iRODS/irods_testing_environment/irods_testing_environment/database_setup.py:176: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if ec is not 0:
/home/user/Documents/iRODS/irods_testing_environment/irods_testing_environment/database_setup.py:398: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if ec is not 0:
/home/user/Documents/iRODS/irods_testing_environment/irods_testing_environment/database_setup.py:402: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if ec is not 0:
...
usage: stand_it_up.py [-h] [--verbose] [--project-directory PATH_TO_PROJECT_DIRECTORY] [--project-name PROJECT_NAME] [--odbc-driver-path PATH_TO_ODBC_DRIVER_ARCHIVE] [--irods-package-directory PATH_TO_DIRECTORY_WITH_PACKAGES] [--irods-package-version PACKAGE_VERSION_TO_DOWNLOAD] [--irods-externals-package-directory PATH_TO_DIRECTORY_WITH_IRODS_EXTERNALS_PACKAGES]
                      [--use-static-image] [--consumer-instance-count IRODS_CATALOG_SERVICE_CONSUMER_INSTANCE_COUNT] [--use-ssl]

Stand up an iRODS zone.

optional arguments:
  -h, --help            show this help message and exit
  --verbose, -v         Increase the level of output to stdout. CRITICAL and ERROR messages will always be printed. Add more to see more log messages (e.g. -vvv displays DEBUG).
  --project-directory PATH_TO_PROJECT_DIRECTORY
                        Path to Compose project on which packages will be installed.
  --project-name PROJECT_NAME
                        Name of Compose project on which to install packages.
  --odbc-driver-path PATH_TO_ODBC_DRIVER_ARCHIVE
                        Path to the ODBC driver archive file on the local machine. If not provided, the driver will be downloaded.
  --irods-package-directory PATH_TO_DIRECTORY_WITH_PACKAGES
                        Path to local directory which contains iRODS packages.
  --irods-package-version PACKAGE_VERSION_TO_DOWNLOAD
                        Version of official iRODS packages to download and install. If neither this or --irods-package-directory are specified, the latest available version will be installed. Can be used with --use-static-image to avoid downloading packages.
  --irods-externals-package-directory PATH_TO_DIRECTORY_WITH_IRODS_EXTERNALS_PACKAGES
                        Path to local directory which contains iRODS externals packages.
  --use-static-image    If specified, a Docker image which has pre-installed iRODS packages will be used instead of installing the packages at runtime. This is incompatible with --irods-package-directory. --irods-package-version must be specified to use this option.
  --consumer-instance-count IRODS_CATALOG_SERVICE_CONSUMER_INSTANCE_COUNT
                        Number of iRODS Catalog Service Consumer service instances.
  --use-ssl             Indicates that SSL should be configured and enabled in the Zone.
(irods_testing_environment) [irods_testing_environment]$ python --version
Python 3.8.17
@trel trel added the bug Something isn't working label Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants