File tree Expand file tree Collapse file tree 5 files changed +18
-17
lines changed Expand file tree Collapse file tree 5 files changed +18
-17
lines changed Original file line number Diff line number Diff line change 16
16
fail-fast : false
17
17
matrix :
18
18
python-version :
19
- - 3.7
20
19
- 3.8
21
20
- 3.9
22
21
- " 3.10"
@@ -139,10 +138,8 @@ jobs:
139
138
- name : Set up Python
140
139
uses : actions/setup-python@v4
141
140
with :
142
- # Pin this low because RTD doesn't seem to adopt new
143
- # versions quickly and this ensures we don't have a
144
- # dependency problem with importlib.metadata.
145
- python-version : " 3.7"
141
+ # Pin this to the same version used on in .readthedocs.yaml
142
+ python-version : " 3.11"
146
143
147
144
- name : Install dependencies
148
145
run : python -m pip install tox
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ pull_request_rules:
28
28
- " title~=^docs:"
29
29
- " files~=docs"
30
30
- " files~=.rst$"
31
+ - " files~=.readthedocs.yaml$"
31
32
actions :
32
33
label :
33
34
add :
Original file line number Diff line number Diff line change
1
+ version : 2
2
+
3
+ build :
4
+ os : " ubuntu-20.04"
5
+ tools :
6
+ python : " 3.11"
7
+
8
+ python :
9
+ # Install our python package before building the docs
10
+ install :
11
+ - method : pip
12
+ path : .
Original file line number Diff line number Diff line change 14
14
15
15
import datetime
16
16
17
- # Try to import the version from our package, but if that fails
18
- # because of the way the RTD build works fall back to at least using
19
- # the git tag information.
20
- try :
21
- from virtualenvwrapper .version import version
22
- except ImportError :
23
- import subprocess
24
- p = subprocess .run (['git' , 'describe' ], stdout = subprocess .PIPE )
25
- version = p .stdout .decode ('utf-8' ).strip ()
17
+ import virtualenvwrapper .version
26
18
27
19
# If extensions (or modules to document with autodoc) are in another directory,
28
20
# add these directories to sys.path here. If the directory is relative to the
60
52
# built documents.
61
53
#
62
54
# The short X.Y version.
63
- # version = "SEE IMPORTS ABOVE"
55
+ version = virtualenvwrapper . version . version
64
56
# The full version, including alpha/beta/rc tags.
65
57
release = version
66
58
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ classifiers = [
13
13
" License :: OSI Approved :: MIT License" ,
14
14
" Programming Language :: Python" ,
15
15
" Programming Language :: Python :: 3" ,
16
- " Programming Language :: Python :: 3.7" ,
17
16
" Programming Language :: Python :: 3.8" ,
18
17
" Programming Language :: Python :: 3.9" ,
19
18
" Programming Language :: Python :: 3.10" ,
@@ -28,7 +27,7 @@ dynamic = ["version"]
28
27
keywords = [" virtualenv" ]
29
28
license = {text = " MIT" }
30
29
readme = " README.txt"
31
- requires-python = " >=3.7 "
30
+ requires-python = " >=3.8 "
32
31
33
32
dependencies = [
34
33
" virtualenv" ,
You can’t perform that action at this time.
0 commit comments