Commit 432f4d6
Get attr module version without importlib [RHELDST-32151] (#665)
For python versions older than 3.8, importlib_metadata module needs to
be installed separately, however no such RPM package is available for
RHEL 8. The whole ordeal of getting the version of attr module currently
installed can be done without importing importlib.
This commit also updates .gitignore to ignore artifacts generated during
local tox runs.
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent e8ab189 commit 432f4d6
5 files changed
Lines changed: 20 additions & 19 deletions
File tree
- src/pushsource/_impl
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 3 | | |
13 | 4 | | |
14 | | - | |
15 | | - | |
| 5 | + | |
16 | 6 | | |
17 | 7 | | |
18 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | 467 | | |
472 | 468 | | |
473 | 469 | | |
| |||
1009 | 1005 | | |
1010 | 1006 | | |
1011 | 1007 | | |
1012 | | - | |
1013 | | - | |
1014 | | - | |
| 1008 | + | |
1015 | 1009 | | |
1016 | 1010 | | |
1017 | 1011 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments