Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/continous-integration-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
with:
fetch-depth: 0 # This causes all history to be fetched, which is required for calculate-version to function

- name: Install Python 3.10
- name: Install Python 3.13
uses: actions/setup-python@v6
with:
python-version: '3.10'
python-version: '3.13'

- name: Upgrade python packaging tools
run: python -m pip install --upgrade pip setuptools wheel
Expand Down
2 changes: 1 addition & 1 deletion azure/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ variables:
product_display_name: e-Referrals-Service
product_description: The NHS e-RS vision is to enable local innovation and adoption of paperless referrals. To support this vision NHS Digital have created a set of APIs which provide a well-defined, simple to use data interface to the NHS e-Referral Service (e-RS). See https://digital.nhs.uk/developer/api-catalogue/e-referral-service-fhir
spec_file: e-referrals-service-api.json
python_version: 3.10
python_version: 3.13
108 changes: 4 additions & 104 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
python = "^3.10"
python = "^3.13"
name = "e-referrals-service-api"
version = "0.0.1-alpha"
description = "TODO"
Expand All @@ -20,7 +20,7 @@ package-mode = false


[tool.poetry.dependencies]
python = "^3.10"
python = "^3.13"
pyyaml = "^6.0"
docopt = "^0.6.2"
jsonpath-rw = "^1.4.0"
Expand Down
24 changes: 12 additions & 12 deletions scripts/macos_setup_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,29 +45,29 @@ else
exit 2
fi

# Installing python 3.10 with pyenv
echo "Installing python 3.10 with pyenv ..."
if pyenv versions | grep -Fq "3.10" ; then
echo "Pyenv has already got Python 3.10 installed."
# Installing python 3.13 with pyenv
echo "Installing python 3.13 with pyenv ..."
if pyenv versions | grep -Fq "3.13" ; then
echo "Pyenv has already got Python 3.13 installed."
else
if pyenv install 3.10 ; then
echo "Pyenv installed Python 3.10 successfully."
echo "Pyenv installed Python 3.13 successfully."
else
echo "Pyenv did NOT install Python 3.10 successfully."
echo "Pyenv did NOT install Python 3.13 successfully."
exit 3
fi
fi


# Creating Apigee environment with Python 3.10
echo "Creating Apigee environment with Python 3.10 ..."
# Creating Apigee environment with Python 3.13
echo "Creating Apigee environment with Python 3.13 ..."
if pyenv versions | grep -q ".*apigee" ; then
echo "A Python virtualenv named 'apigee' already exists."
else
if pyenv virtualenv 3.10 apigee ; then
echo "A Python 3.10 virtualenv named 'apigee' was created."
if pyenv virtualenv 3.13 apigee ; then
echo "A Python 3.13 virtualenv named 'apigee' was created."
else
echo "A Python 3.10 virtualenv named 'apigee' was NOT created."
echo "A Python 3.13 virtualenv named 'apigee' was NOT created."
exit 4
fi
fi
Expand All @@ -86,7 +86,7 @@ fi
# Checking python version
echo "Checking python version ..."
version=$(python -V 2>&1)
if [[ $version = 'Python 3.10'* ]] ; then
if [[ $version = 'Python 3.13'* ]] ; then
echo "Python version is correct."
else
echo "Python version is NOT correct."
Expand Down
26 changes: 13 additions & 13 deletions scripts/ubuntu_setup_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,29 +63,29 @@ else
fi


#Installing python 3.10 with pyenv
echo "Installing python 3.10 with pyenv ..."
if pyenv versions | grep -Fq "3.10" ; then
echo "Pyenv has already got Python 3.10 installed."
#Installing python 3.13 with pyenv
echo "Installing python 3.13 with pyenv ..."
if pyenv versions | grep -Fq "3.13" ; then
echo "Pyenv has already got Python 3.13 installed."
else
if pyenv install 3.10 ; then
echo "Pyenv installed Python 3.10 successfully."
if pyenv install 3.13 ; then
echo "Pyenv installed Python 3.13 successfully."
else
echo "Pyenv did NOT install Python 3.10 successfully."
echo "Pyenv did NOT install Python 3.13 successfully."
exit 1
fi
fi


#Creating Apigee environment with Python 3.10
echo "Creating Apigee environment with Python 3.10 ..."
#Creating Apigee environment with Python 3.13
echo "Creating Apigee environment with Python 3.13 ..."
if pyenv versions | grep -q ".*apigee" ; then
echo "A Python virtualenv named 'apigee' already exists."
else
if pyenv virtualenv 3.10 apigee ; then
echo "A Python 3.10 virtualenv named 'apigee' was created."
if pyenv virtualenv 3.13 apigee ; then
echo "A Python 3.13 virtualenv named 'apigee' was created."
else
echo "A Python 3.10 virtualenv named 'apigee' was NOT created."
echo "A Python 3.13 virtualenv named 'apigee' was NOT created."
exit 1
fi
fi
Expand All @@ -104,7 +104,7 @@ fi
#Checking python version
echo "Checking python version ..."
version=$(python -V 2>&1)
if [[ $version = 'Python 3.10'* ]] ; then
if [[ $version = 'Python 3.13'* ]] ; then
echo "Python version is correct."
else
echo "Python version is NOT correct."
Expand Down