Skip to content

Commit c3123f8

Browse files
committed
Merge branch 'sassoftware:master' into master
2 parents d4c05b0 + 2508b40 commit c3123f8

40 files changed

+12556
-8598
lines changed

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ matrix:
2525
include:
2626
- python: 2.7
2727
env: TOXENV=py27-tests-codecov TOX_SKIP_MISSING_INTERPRETERS=False
28-
- python: 3.4
29-
dist: trusty
30-
env: TOXENV=py34-tests-codecov TOX_SKIP_MISSING_INTERPRETERS=False
3128
- python: 3.5
3229
env: TOXENV=py35-tests-codecov TOX_SKIP_MISSING_INTERPRETERS=False
3330
- python: 3.6

CHANGELOG.md

Lines changed: 35 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,57 @@
11
Unreleased
22
----------
3-
-
3+
**Bugfixes**
4+
- SSL warnings no longer repeatedly raised when `verify_ssl=False` but `CAS_CLIENT_SSL_CA_LIST` is specified.
5+
6+
**Improvements**
7+
- All `delete_*()` service methods return `None` instead of empty string.
48

5-
v1.5.5 (2021-03-26)
6-
-------------------
7-
**Bugfixes***
9+
v1.5.7 (2021-05-04)
10+
-------------------
11+
**Bugfixes**
12+
- Fixed an import issue that could cause an error while using the `pzmm` submodule.
13+
14+
v1.5.6 (2021-04-30)
15+
-------------------
16+
**Improvements**
17+
- `PagedList` handles situations where the server over-estimates the number of items available for paging.
18+
- The version of SAS Viya on the server can now be determined using `sasctl.platform_version()`.
19+
20+
**Bugfixes**
21+
- Reworked the `model_repository.get_repository()` to prevent HTTP 403 errors that could occur with some Viya environments.
22+
23+
v1.5.5 (2021-03-26)
24+
-------------------
25+
**Bugfixes***
826
- Fixed an issue with JSON parsing that caused the `publish_model` task to fail with Viya 4.0.
927

1028
v1.5.4 (2020-10-29)
11-
------------------
12-
**Improvements**
29+
------------------
30+
**Improvements**
1331
- Added the `as_swat` method to the `Session` object, allowing connection to CAS through SWAT without an additional authentication step.
1432

15-
**Changes**
33+
**Changes**
1634
- Integrated PZMM into `Session` calls and removed redundant function calls in PZMM.
1735
- ROC and Lift statistic JSON files created by PZMM are now generated through CAS actionset calls.
1836
- Updated the PZMM example notebook, `FleetMaintenance.ipynb`, to include integration of PZMM with sasctl functions.
1937

20-
**Bugfixes**
38+
**Bugfixes**
2139
- Reworked the `model_repository.get_repository()` to prevent HTTP 403 errors that could occur with some Viya environments.
2240

23-
v1.5.3 (2020-06-25)
24-
------------------
25-
**Bugfixes**
26-
- Added PZMM fitstat JSON file to manifest.
41+
v1.5.3 (2020-06-25)
42+
------------------
43+
**Bugfixes**
44+
- Added PZMM fitstat JSON file to manifest.
2745

28-
v1.5.2 (2020-06-22)
29-
-------------------
30-
**Improvements**
46+
v1.5.2 (2020-06-22)
47+
-------------------
48+
**Improvements**
3149
- PZMM module moved from a stand-alone [repository](https://github.com/sassoftware/open-model-manager-resources/tree/master/addons/picklezip-mm) to a sasctl submodule.
3250
- Introduced deprecation warnings for Python 2 users.
3351

3452
v1.5.1 (2020-4-9)
3553
----------------
36-
**Bugfixes**
54+
**Bugfixes**
3755
- Fixed PyMAS utilities to correctly work functions not bound to pickled objects.
3856
- Model target variables should no longer appear as an input variable when registering ASTORE models.
3957

@@ -55,7 +73,7 @@ v1.5 (2020-2-23)
5573
- The `get_file_content` method of the Files service now returns the actual content instead of the file metadata.
5674
- JSON output when using `sasctl` from the command line is now formatted correctly.
5775

58-
**Bugfixes**
76+
**Bugfixes**
5977
- `model_publish.delete_destination` now works correctly.
6078

6179
v1.4.6 (2020-1-24)

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ The following additional packages are recommended for full functionality:
4848

4949
### Installation
5050

51+
Installing the latest version is as easy as:
5152
```
5253
pip install sasctl
5354
```
@@ -57,6 +58,11 @@ Functionality that depends on additional packages can be installed using the fol
5758
- `pip install sasctl[kerberos]`
5859
- `pip install sasctl[all]`
5960

61+
If you want the latest functionality and can't wait on an official release, you can also
62+
install the latest source code:
63+
64+
```pip install git+https://github.com/sassoftware/python-sasctl```
65+
6066

6167
## Getting Started
6268

examples/FleetManagement.ipynb

Lines changed: 51 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"\n",
2121
"This notebook provides an example of how to build and train a Python model and then import the model into SAS Model Manager using the fleet maintenance data set. Lines of code that must be modified by the user, such as directory paths are noted with the comment \"_Changes required by user._\".\n",
2222
"\n",
23-
"_**Note:** If you download only this notebook and not the rest of the repository, you must also download the fleet_maintenance.csv from the data folder in the examples directory. These files are used when executing this notebook example._\n",
23+
"_**Note:** If you download only this notebook and not the rest of the repository, you must also download the fleet maintenance CSV file from the data folder in the examples directory. These files are used when executing this notebook example._\n",
2424
"\n",
2525
"Here are the steps shown in this notebook:\n",
2626
"\n",
@@ -989,20 +989,16 @@
989989
},
990990
{
991991
"cell_type": "code",
992-
"execution_count": 19,
992+
"execution_count": 15,
993993
"metadata": {
994994
"Collapsed": "false"
995995
},
996996
"outputs": [],
997997
"source": [
998-
"S = pzmm.ScoreCode()\n",
998+
"I = pzmm.ImportModel()\n",
999999
"for (prefix, path) in zip(modelPrefix, zipFolder):\n",
1000-
" S.writeScoreCode(x, y, prefix,\n",
1001-
" '{}.predict({})', prefix + '.pickle',\n",
1002-
" pyPath=path)\n",
1003-
" zipIOFile = pzmm.ZipModel.zipFiles(_, path, prefix)\n",
10041000
" with sess:\n",
1005-
" modelReponse = modelRepo.import_model_from_zip(prefix, 'Fleet Management Report', zipIOFile)"
1001+
" I.pzmmImportModel(path, prefix, 'Fleet Management Report', x, y, '{}.predict({})')\n"
10061002
]
10071003
},
10081004
{
@@ -1030,6 +1026,53 @@
10301026
"nbconvert_exporter": "python",
10311027
"pygments_lexer": "ipython3",
10321028
"version": "3.8.3"
1029+
},
1030+
"latex_envs": {
1031+
"LaTeX_envs_menu_present": true,
1032+
"autoclose": true,
1033+
"autocomplete": true,
1034+
"bibliofile": "biblio.bib",
1035+
"cite_by": "apalike",
1036+
"current_citInitial": 1,
1037+
"eqLabelWithNumbers": true,
1038+
"eqNumInitial": 1,
1039+
"hotkeys": {
1040+
"equation": "Ctrl-E",
1041+
"itemize": "Ctrl-I"
1042+
},
1043+
"labels_anchors": false,
1044+
"latex_user_defs": false,
1045+
"report_style_numbering": false,
1046+
"user_envs_cfg": false
1047+
},
1048+
"varInspector": {
1049+
"cols": {
1050+
"lenName": 16,
1051+
"lenType": 16,
1052+
"lenVar": 40
1053+
},
1054+
"kernels_config": {
1055+
"python": {
1056+
"delete_cmd_postfix": "",
1057+
"delete_cmd_prefix": "del ",
1058+
"library": "var_list.py",
1059+
"varRefreshCmd": "print(var_dic_list())"
1060+
},
1061+
"r": {
1062+
"delete_cmd_postfix": ") ",
1063+
"delete_cmd_prefix": "rm(",
1064+
"library": "var_list.r",
1065+
"varRefreshCmd": "cat(var_dic_list()) "
1066+
}
1067+
},
1068+
"types_to_exclude": [
1069+
"module",
1070+
"function",
1071+
"builtin_function_or_method",
1072+
"instance",
1073+
"_Feature"
1074+
],
1075+
"window_display": false
10331076
}
10341077
},
10351078
"nbformat": 4,

0 commit comments

Comments
 (0)