Skip to content

Commit

Permalink
Merge pull request #711 from EducationalTestingService/release/3.0.0
Browse files Browse the repository at this point in the history
Preparing for v3.0.0 Release
  • Loading branch information
desilinguist authored Dec 21, 2021
2 parents 61bef9c + c02377b commit 1502fe8
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ formats: all

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
version: 3.8
install:
- requirements: doc/requirements.txt
system_packages: true
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ You can install using either ``pip`` or ``conda``. See details `here <https://sk
Requirements
~~~~~~~~~~~~

- Python 3.7, 3.8, or 3.9
- Python 3.8, 3.9, or 3.10
- `beautifulsoup4 <http://www.crummy.com/software/BeautifulSoup/>`__
- `gridmap <https://pypi.org/project/gridmap/>`__ (only required if you plan
to run things in parallel on a DRMAA-compatible cluster)
Expand Down
9 changes: 4 additions & 5 deletions conda-recipe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

1. To create the SKLL conda package run: `conda build -c conda-forge .`

2. This will create python 3.7, 3.8, and 3.9 packages for your native platform, e.g., `osx-64`.
2. This will create a single noarch Python package.

3. Convert these built packages for the other two platforms. For example, if you ran the above command on macOS, run `conda convert -p linux-64 -p win-64 <packages files>`, where `<packages_files>` are the package files that were created in step 2.
3. Upload the package file to anaconda.org using `anaconda upload --user ets <path_to_file>`.

4. Upload all 9 package files (3 Python versions x 3 platforms) to anaconda.org using `anaconda upload --user ets <path_to_files>`.

5. Test the package: `conda create -n foobar -c conda-forge -c ets python=3.9 skll`. This should _always_ install the latest package.
4. Test the package: `conda create -n foobar -c ets -c conda-forge python=3.9 skll`. This should _always_ install the latest package from the ``ets`` conda channel.
Note that we are specifying the ``ets`` channel first since SKLL is now also in conda-forge but runs a version behind until we do the actual release on GitHub.
9 changes: 0 additions & 9 deletions conda-recipe/skll/conda_build_config.yaml

This file was deleted.

15 changes: 3 additions & 12 deletions conda-recipe/skll/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ source:

build:
number: 0
noarch: python
script:
- cd $SRC_DIR
- "{{ PYTHON }} -m pip install . --no-deps -vv"
Expand All @@ -32,21 +33,11 @@ build:

requirements:
build:
- python
- python >=3.8
- pip
- setuptools
- beautifulsoup4
- joblib
- numpy {{ numpy }}
- pandas
- ruamel.yaml
- scikit-learn >=1.0.1,<=1.0.2
- scipy
- seaborn
- tabulate

run:
- python
- python >=3.8
- beautifulsoup4
- joblib
- numpy
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def requirements():
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
zip_safe=False)
2 changes: 1 addition & 1 deletion skll/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
:organization: ETS
"""

__version__ = '2.5.0'
__version__ = '3.0.0'
VERSION = tuple(int(x) for x in __version__.split('.'))

0 comments on commit 1502fe8

Please sign in to comment.