Skip to content

Commit

Permalink
Remove support for Python 3.8 and add Python 3.11 (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianyorke authored Sep 14, 2024
1 parent 30c9a77 commit f164fc8
Show file tree
Hide file tree
Showing 20 changed files with 31 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'windows-latest']
python-version: ['3.8', '3.9', '3.10']
python-version: ['3.9', '3.10', '3.11']
node-version: [20]
runs-on: ${{ matrix.os }}

Expand Down
2 changes: 1 addition & 1 deletion src/section_01/recipe011_hello_world_logging.robot
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Documentation PROBLEM:
... Congratulations! You have created your first Robot Framework script which outputs
... a text message and a variable to the log and also the console.
... This recipe only using keywords from BuiltIn standard library so there is no Library import.
Force Tags py3.8 py3.9 py3.10
Force Tags py3.9 py3.10 py3.11

*** Variables ***
${recipe} Recipe 1.1 Hello World Logging
Expand Down
2 changes: 1 addition & 1 deletion src/section_01/recipe012_looping.robot
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Documentation PROBLEM:
... No Operation keyword is used to "do nothing" although you may disagee.
... This recipe only using keywords from BuiltIn standard library so there is no Library import.
... NOTE: the old FOR syntax should no longer be used but you may still find it in old posts.
Force Tags py3.8 py3.9 py3.10
Force Tags py3.9 py3.10 py3.11

*** Variables ***
${recipe} Recipe 1.2 Looping
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Documentation PROBLEM:
... BuiltIn library also has keywords for creating lists and dictionaries, checking
... length or count and checking membership or equality.
Library Collections
Force Tags py3.8 py3.9 py3.10
Force Tags py3.9 py3.10 py3.11

*** Variables ***
${recipe} Recipe 2.1 Explaining Variable Prefixes
Expand Down
2 changes: 1 addition & 1 deletion src/section_02/recipe022_handling_lists.robot
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Documentation PROBLEM:
... length or count and checking membership or equality.
... Recipe 041 also demonstrates using list & dictionaries using only BuiltIn library keywords.
Library Collections
Force Tags py3.8 py3.9 py3.10
Force Tags py3.9 py3.10 py3.11

*** Variables ***
${recipe} Recipe 2.2 Handling Lists
Expand Down
2 changes: 1 addition & 1 deletion src/section_02/recipe023_handling_dictionaries.robot
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Documentation PROBLEM:
... checking membership.
... Recipe 041 demonstrates using list & dictionaries using only BuiltIn library keywords.
Library Collections
Force Tags py3.8 py3.9 py3.10
Force Tags py3.9 py3.10 py3.11

*** Variables ***
${recipe} Recipe 2.3 Handling Dictionaries
Expand Down
2 changes: 1 addition & 1 deletion src/section_03/recipe031_handling_dates.robot
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Documentation PROBLEM:
... instead of number or time string formats,
... - using extended variable syntax.
Library DateTime
Force Tags py3.8 py3.9 py3.10
Force Tags py3.9 py3.10 py3.11

*** Variables ***
${recipe} Recipe 3.1 Handling Dates
Expand Down
2 changes: 1 addition & 1 deletion src/section_04/recipe041_working_with_file_system.robot
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Documentation PROBLEM:
... This recipe demonstrates list variables, FOR loop and how to import a library.
... We choose ${TEMPDIR} here as it works on all platforms.
Library OperatingSystem
Force Tags py3.8 py3.9 py3.10
Force Tags py3.9 py3.10 py3.11
*** Variables ***
${recipe} Recipe 4.1 Working With File System
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Documentation PROBLEM:
... DISCUSSION:
... This recipe demonstrates using keywords from String standard library.
Library String
Force Tags py3.8 py3.9 py3.10
Force Tags py3.9 py3.10 py3.11

*** Variables ***
${recipe} Recipe 7.1 String Manipulation Examples
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Documentation PROBLEM:
... $ pip install -U robotframework-requests
Library Collections
Library RequestsLibrary
Force Tags py3.8 py3.9 py3.10
Force Tags py3.9 py3.10 py3.11
*** Variables ***
${recipe} Recipe 9.1 Working With Requests Library
Expand Down
2 changes: 1 addition & 1 deletion src/section_09/recipe092_working_with_rest_library.robot
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Documentation PROBLEM:
... $ pip install -U RESTinstance
Library Collections
Library REST https://api.github.com
Force Tags py3.8 py3.9 py3.10
Force Tags py3.9 py3.10 py3.11

*** Variables ***
${recipe} Recipe 9.2 Working With REST Library
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Documentation PROBLEM:
... $ rfbrowser init
Library Collections
Library Browser
Force Tags py3.8 py3.9 py3.10
Force Tags py3.9 py3.10 py3.11

*** Variables ***
${recipe} Recipe 9.3 Working With Browser Library
Expand Down
2 changes: 1 addition & 1 deletion src/section_10/recipe101_working_with_databases.robot
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Documentation PROBLEM:
Library OperatingSystem
Library String
Library DatabaseLibrary
Force Tags py3.8 py3.9 py3.10
Force Tags py3.9 py3.10 py3.11

*** Variables ***
${recipe} Recipe 10.1 Working With Databases
Expand Down
2 changes: 1 addition & 1 deletion src/section_10/recipe102_hacking_database_view.robot
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Documentation PROBLEM:
Library OperatingSystem
Library String
Library DatabaseLibrary
Force Tags py3.8 py3.9 py3.10
Force Tags py3.9 py3.10 py3.11

*** Variables ***
${recipe} Recipe 10.2 Breaking Database View
Expand Down
2 changes: 1 addition & 1 deletion src/section_12/recipe121_running_tests_in_parallel.robot
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Documentation PROBLEM:
... $ pabot --testlevelsplit recipe121_running_tests_in_parallel.robot
... This recipe has the following external dependencies:
... $ pip install -U robotframework-pabot
Force Tags pabot py3.8 py3.9 py3.10
Force Tags pabot py3.9 py3.10 py3.11

*** Variables ***
${recipe} Recipe 12.1 Running Tests in Parallel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Documentation PROBLEM:
... $ pip install -U robotframework-browser
... $ rfbrowser init
Library Browser
Force Tags py3.8 py3.9 py3.10
Force Tags py3.9 py3.10 py3.11

*** Variables ***
${recipe} Recipe 15.1 Working With Browser Contexts
Expand Down
2 changes: 1 addition & 1 deletion src/section_95/recipe951_rf4_native_if_else_elseif.robot
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Documentation PROBLEM:
... Recipe 3.1 Handling Dates
... https://github.com/robotframework/robotframework/issues/3074
Library DateTime
Force Tags py3.8 py3.9 py3.10
Force Tags py3.9 py3.10 py3.11

*** Variables ***
${recipe} Recipe 95.1 Robot Framework 4 Native IF, ELSE, ELSE IF Syntax
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements-3.10.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ robotframework-seleniumlibrary
robotframework-seleniumtestability
webdrivermanager
robotframework-aws
robotframework-browser
robotframework-browser
12 changes: 12 additions & 0 deletions tests/requirements-3.11.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
robotframework-robocop
requests
robotframework-requests
RESTinstance
robotframework-databaselibrary
robotframework-sshlibrary
robotframework-pabot
robotframework-seleniumlibrary
robotframework-seleniumtestability
webdrivermanager
robotframework-aws
robotframework-browser
2 changes: 1 addition & 1 deletion tests/requirements-3.9.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ robotframework-seleniumlibrary
robotframework-seleniumtestability
webdrivermanager
robotframework-aws
robotframework-browser
robotframework-browser

0 comments on commit f164fc8

Please sign in to comment.