Skip to content

Commit 06950d4

Browse files
authored
chore: move check urls tool out of the library (#90)
1 parent 71c4625 commit 06950d4

File tree

11 files changed

+562
-273
lines changed

11 files changed

+562
-273
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
- name: Unit and functional tests
2626
run: |
2727
poetry run pytest
28+
- name: Download URLs existance check
29+
run: |
30+
poetry run python ./tools/check_urls.py
2831
- name: Build
2932
run: |
3033
poetry build

.github/workflows/testing.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ jobs:
2323
- name: Unit and functional tests
2424
run: |
2525
poetry run pytest
26+
- name: Download URLs integrity check
27+
run: |
28+
poetry run python ./tools/check_urls.py --hashes

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ settings.json
1111
*.egg-info
1212
build/
1313
dist/
14+
test_folder/**/*

README.md

Lines changed: 34 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -90,33 +90,40 @@ them to set as `mongo_version` at `major.minor` level.
9090
Note that, not all `major.minor.patch` level is available for all OS versions. For exact patch level range, either see
9191
release pages of MongoDB or have a look at the internal [URL bank](pymongo_inmemory/downloader/_patterns.py).
9292

93-
| | `operating_system` | `os_version` | MongoDB versions (`major.minor`) |
94-
| ------- | ------------------ | ------------ | -------------------------------------------------------------------- |
95-
| | `osx` | `generic`\* | `2.6`, `3.0`, `3.2`, `3.4`, `3.6`, `4.0`, `4.2`, `4.4`, `5.0`, `6.0` |
96-
| **NEW** | `macos` | `arm` | `6.0` |
97-
| | `windows` | `generic`\* | `2.6`, `3.0`, `3.2`, `3.4`, `3.6`, `4.0`, `4.2`, `4.4`, `5.0` |
98-
| | `linux` | `generic`\* | `2.6`, `3.0`, `3.2`, `3.4`, `3.6`, `4.0` |
99-
| | `amazon` | `1` | `3.0`, `3.2`, `3.4`, `3.6`, `4.0`, `4.2`, `4.4`, `5.0` |
100-
| | `amazon` | `2` | `3.6`, `4.0`, `4.2`, `4.4`, `5.0`, `6.0` |
101-
| | `debian` | `7` | `3.0`, `3.2`, `3.4`, `3.6` |
102-
| | `debian` | `8` | `3.2`, `3.4`, `3.6`, `4.0` |
103-
| | `debian` | `9` | `3.6`, `4.0`, `4.2`, `4.4`, `4.5`, `4.6`, `5.0` |
104-
| | `debian` | `10` | `4.2`, `4.4`, `4.5`, `4.6`, `5.0`, `6.0` |
105-
| | `debian` | `11` | `5.0`, `6.0` |
106-
| | `rhel` | `5` | `3.0`, `3.2` |
107-
| | `rhel` | `6` | `3.0`, `3.2`, `3.4`, `3.6`, `4.0`, `4.2`, `4.4` |
108-
| | `rhel` | `7` | `3.0`, `3.2`, `3.4`, `3.6`, `4.0`, `4.2`, `4.4`, `5.0`, `6.0` |
109-
| | `rhel` | `8` | `3.6`, `4.0`, `4.2`, `4.4`, `5.0`, `6.0` |
110-
| | `suse` | `11` | `3.0`, `3.2`, `3.4`, `3.6` |
111-
| | `suse` | `12` | `3.2`, `3.4`, `3.6`, `4.0`, `4.2`, `4.4`, `5.0`, `6.0` |
112-
| | `suse` | `15` | `4.2`, `4.4`, `5.0`, `6.0` |
113-
| | `ubuntu` | `12` | `3.0`, `3.2`, `3.4`, `3.6` |
114-
| | `ubuntu` | `14` | `3.0`, `3.2`, `3.4`, `3.6`, `4.0` |
115-
| | `ubuntu` | `16` | `3.2`, `3.4`, `3.6`, `4.0`, `4.2`, `4.4` |
116-
| | `ubuntu` | `18` | `3.6`, `4.0`, `4.2`, `4.4`, `5.0` |
117-
| | `ubuntu` | `20` | `4.4`, `5.0` |
118-
| | `sunos` | `5` | `2.6`, `3.0`, `3.2`, `3.4` |
119-
| | | | |
93+
| | `operating_system` | `os_version` | MongoDB versions (`major.minor`) |
94+
| ------- | ------------------ | ------------ | ----------------------------------------------------- |
95+
| | amazon | 1 | 3.6, 3.2, 3.4, 4.2, 5.0, 4.0, 3.0, 4.4 |
96+
| | amazon | 2 | 7.0, 6.0, 3.6, 5.0, 4.2, 4.0, 4.4 |
97+
| **NEW** | amazon | 2023 | 7.0 |
98+
| **NEW** | amazon | 2023-arm | 7.0 |
99+
| | debian | 7 | 3.6, 3.0, 3.2, 3.4 |
100+
| | debian | 8 | 3.6, 4.0, 3.2, 3.4 |
101+
| | debian | 9 | 3.6, 5.0, 4.2, 4.0, 4.4 |
102+
| | debian | 10 | 4.2, 5.0, 6.0, 4.4 |
103+
| | debian | 11 | 7.0, 6.0, 5.0 |
104+
| | rhel | 5 | 3.0, 3.2 |
105+
| | rhel | 6 | 3.6, 3.2, 3.4, 4.2, 4.0, 3.0, 4.4 |
106+
| | rhel | 7 | 7.0, 6.0, 3.6, 3.2, 3.4, 4.2, 5.0, 4.0, 3.0, 4.4 |
107+
| | rhel | 8 | 7.0, 6.0, 3.6, 5.0, 4.2, 4.0, 4.4 |
108+
| | rhel | 9 | 7.0, 6.0 |
109+
| **NEW** | rhel-arm | 8 | 5.0, 7.0, 6.0, 4.4 |
110+
| **NEW** | rhel-arm | 9 | 7.0, 6.0 |
111+
| | suse | 11 | 3.6, 3.0, 3.2, 3.4 |
112+
| | suse | 12 | 7.0, 6.0, 3.6, 3.2, 3.4, 4.2, 5.0, 4.0, 4.4 |
113+
| | suse | 15 | 7.0, 6.0, 5.0, 4.2, 4.4 |
114+
| | ubuntu | 12 | 3.6, 3.0, 3.2, 3.4 |
115+
| | ubuntu | 14 | 3.6, 3.2, 3.4, 4.0, 3.0 |
116+
| | ubuntu | 16 | 3.6, 3.2, 3.4, 4.2, 4.0, 4.4 |
117+
| | ubuntu | 18 | 6.0, 3.6, 5.0, 4.2, 4.0, 4.4 |
118+
| | ubuntu | 20 | 5.0, 7.0, 6.0, 4.4 |
119+
| | ubuntu | 22 | 7.0, 6.0 |
120+
| **NEW** | ubuntu-arm | 20 | 5.0, 7.0, 6.0, 4.4 |
121+
| **NEW** | ubuntu-arm | 22 | 7.0, 6.0 |
122+
| | linux | generic | 3.6, 3.2, 3.4, 2.6, 4.0, 3.0 |
123+
| | osx | generic | 7.0, 6.0, 3.6, 3.2, 3.4, 4.2, 5.0, 2.6, 4.0, 3.0, 4.4 |
124+
| **NEW** | macos | arm | 7.0, 6.0 |
125+
| | sunos | 5 | 3.0, 2.6, 3.2, 3.4 |
126+
| | windows | generic | 7.0, 6.0, 3.6, 3.2, 3.4, 4.2, 5.0, 2.6, 4.0, 3.0, 4.4 |
120127

121128
\***_Note:_** No need to specify `generic`, as it will be chosen automatically since it's the only version for that OS.
122129

0 commit comments

Comments
 (0)