File tree Expand file tree Collapse file tree 3 files changed +20
-3
lines changed Expand file tree Collapse file tree 3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 50
50
python -m pytest tests
51
51
python -m pytest --doctest-only resampy
52
52
- name : Upload coverage to Codecov
53
- uses : codecov/codecov-action@v3
53
+ uses : codecov/codecov-action@v4
54
54
with :
55
55
token : ${{ secrets.CODECOV_TOKEN }}
56
56
files : ./coverage.xml
Original file line number Diff line number Diff line change
1
+ version : 2
2
+
3
+ build :
4
+ os : ubuntu-22.04
5
+ tools :
6
+ python : " 3.12"
7
+
8
+ python :
9
+ install :
10
+ - method : pip
11
+ path : .
12
+ - requirements : docs/requirements.txt
13
+
14
+ sphinx :
15
+ configuration : docs/conf.py
Original file line number Diff line number Diff line change 66
66
# |version| and |release|, also used in various other places throughout the
67
67
# built documents.
68
68
#
69
- import imp
70
- resampy_version = imp .load_source ('resampy.version' , '../resampy/version.py' )
69
+ import importlib .util
70
+ spec = importlib .util .spec_from_file_location ('resampy.version' , '../resampy/version.py' )
71
+ resampy_version = importlib .util .module_from_spec (spec )
72
+ spec .loader .exec_module (resampy_version )
71
73
72
74
# The short X.Y version.
73
75
version = resampy_version .short_version
You can’t perform that action at this time.
0 commit comments