Skip to content

Commit

Permalink
Update mentions of python3
Browse files Browse the repository at this point in the history
  • Loading branch information
isteinbrecher committed Nov 18, 2024
1 parent 0cf4a5e commit ee2af8f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
. ${SPACK_ACTIVATION_SCRIPT}
spack load python@3.12.1
# Create the virtual environment
python3 -m venv $PYTHON_VENV
python -m venv $PYTHON_VENV
source $PYTHON_VENV/bin/activate
# Update pip
pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ sudo apt-get install python3-venv python3-dev

Now a virtual environment can be created (chose an appropriate directory for this, e.g., `/home/user/opt`)
```bash
python3 -m venv cubitpy-env
python -m venv cubitpy-env
```

The created virtual environment can be loaded with
Expand Down
4 changes: 2 additions & 2 deletions cubitpy/cubit_wrapper/cubit_wrapper_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def is_cubit_type(obj):

# Now start an endless loop (until None is sent) and perform the cubit functions
while 1:
# Get input from python3.
# Get input from the python host.
receive = channel.receive()

# If None is sent, break the connection and exit
Expand Down Expand Up @@ -250,7 +250,7 @@ def deserialize_item(item):
"The id {} is not in the cubit_objects dictionary".format(cubit_id)
)

# Return to python3
# Return to python host
channel.send(None)

else:
Expand Down
4 changes: 2 additions & 2 deletions tests/test_configurations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

# Test the deletion of objects.
# Save stderr in variable.
python3 test_delete.py
python test_delete.py

# Exit status to fail gitlab pipeline.
ERRORSTRING=$(python3 test_delete.py 2>&1)
ERRORSTRING=$(python test_delete.py 2>&1)
if [[ -z "$ERRORSTRING" ]]; then
# if std error was empy, test was ok
echo "Deletion test OK!"
Expand Down

0 comments on commit ee2af8f

Please sign in to comment.