Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CaosDB Crawler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Crawler
Commits
4c82a5ff
Commit
4c82a5ff
authored
2 years ago
by
florian
Browse files
Options
Downloads
Patches
Plain Diff
TST: Add Python 3.7 to tests
parent
0e751e81
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!91
Release 0.3
,
!83
Re-introduce Python 3.7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
setup.cfg
+2
-1
2 additions, 1 deletion
setup.cfg
src/caoscrawler/version.py
+5
-2
5 additions, 2 deletions
src/caoscrawler/version.py
tox.ini
+1
-1
1 addition, 1 deletion
tox.ini
with
8 additions
and
4 deletions
setup.cfg
+
2
−
1
View file @
4c82a5ff
...
@@ -17,7 +17,7 @@ classifiers =
...
@@ -17,7 +17,7 @@ classifiers =
package_dir
=
package_dir
=
=
src
=
src
packages
=
find:
packages
=
find:
python_requires
=
>=3.
8
python_requires
=
>=3.
7
install_requires
=
install_requires
=
importlib-resources
importlib-resources
caosdb
>
0.10.0
caosdb
>
0.10.0
...
@@ -26,6 +26,7 @@ install_requires =
...
@@ -26,6 +26,7 @@ install_requires =
pyyaml
pyyaml
odfpy
#make optional
odfpy
#make optional
pandas
pandas
importlib_metadata
;python_version<'3.8'
[options.packages.find]
[options.packages.find]
where
=
src
where
=
src
...
...
This diff is collapsed.
Click to expand it.
src/caoscrawler/version.py
+
5
−
2
View file @
4c82a5ff
...
@@ -17,13 +17,16 @@
...
@@ -17,13 +17,16 @@
# You should have received a copy of the GNU Affero General Public License
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
#
import
importlib.metadata
try
:
from
importlib
import
metadata
as
importlib_metadata
except
ImportError
:
# Python<3.8 dowesn"t support this so use
import
importlib_metadata
from
packaging.version
import
parse
as
parse_version
from
packaging.version
import
parse
as
parse_version
from
warnings
import
warn
from
warnings
import
warn
# Read in version of locally installed caoscrawler package
# Read in version of locally installed caoscrawler package
version
=
importlib
.
metadata
.
version
(
"
caoscrawler
"
)
version
=
importlib
_
metadata
.
version
(
"
caoscrawler
"
)
class
CfoodRequiredVersionError
(
RuntimeError
):
class
CfoodRequiredVersionError
(
RuntimeError
):
...
...
This diff is collapsed.
Click to expand it.
tox.ini
+
1
−
1
View file @
4c82a5ff
[tox]
[tox]
envlist
=
py38, py39, py310, py311
envlist
=
py37,
py38, py39, py310, py311
skip_missing_interpreters
=
true
skip_missing_interpreters
=
true
[testenv]
[testenv]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment