fossasia / visdom

A flexible tool for creating, organizing, and sharing visualizations of live, rich data. Supports Torch and Numpy.
Apache License 2.0
9.93k stars 1.13k forks source link

Test against multiple Python Versions #909

Closed da-h closed 1 year ago

da-h commented 1 year ago

Description

Just a short housekeeping-PR with the goal to ensure visdom works on the most recent python versions.

Motivation and Context

I've chosen the oldest version to be python 3.8, as 3.7 will end support in the next months.

To ensure visdom works with the recent versions, this PR does the following:

  1. Adding the minimal required version (3.8) to setup.py which adds the requirement to pip.
  2. Extending the functional tests to include all minor python version starting with the minimal version. Thus, the matrix of tests covers after this PR python3.8, python3.9, python3.10, python3.11.

How Has This Been Tested?

Tested the change successfully on top of #908. (I.e. without #908 in-place, thus failing tests are expected until that one is merged)

Types of changes

Checklist: