Releases: civisanalytics/civis-python
Releases · civisanalytics/civis-python
v1.13.1
v1.13.0
Added
- Add
civis jobs follow-log
andcivis jobs follow-run-log
CLI commands. (#359) - Add documentation for follow-log CLI Commands to main docs. (#367)
Fixed
- Fixed a bug related to duplicating parent job parameters when using
civis.parallel.infer_backend_factory
. (#363) - Fixed crashing on NULL fields in
civis sql
CLI command. (#366) - Fixed
hidden
parameter not getting used incivis.io.civis_file_to_table
. (#364) - Fixed
effective_n_jobs
to account forn_jobs=None
, which is a default for the LogisticsRegression insklearn=0.22.x
. (#365) - Fixed crashing on NULL fields in
civis sql
CLI command (#366) - Fixed a bug related to creating a ModelPipeline from a registered model. (#369)
- Fixed readme and setup.py to appease twine. (#373)
Changed
- Made repeated invocations of
civis.tests.create_client_mock
faster by caching the real APIClient that the mock spec is based on (#371)
v1.12.1
v1.12.0
1.12.0 - 2020-01-14
Added
- Added method
get_storage_host_id
to the APIClient. (#328) - Added debug logging to some
civis.io
functions. (#325) - Added
ServiceClient
andServiceEndpoint
class. (#343) - Added new arguments to
civis.io.civis_to_multifile_csv
to expose max_file_size parameter. (#342)
Fixed
- Removed incorrect "optional" marker for the
sql
argument in I/O
functions. (#338) - Raise a more informative exception when calling
file_to_dataframe
on an expired file. (#337) ModelPipeline.register_pretrained_model
should persist the user-supplied
estimator object indefinitely. (#331)- Fixed requirements.txt listing for
cloudpickle
-->=0.2
, not<=0.2
. (#323) - Fixed issue in
civis.io.read_civis_sql
when returning data that contains
double quotes. (#328) - Fixed issue with pyyaml version for Python 3.4 by requiring pyyaml version <=5.2
Changed
- Updated cloudpickle and joblib dependencies. (#349)
- CivisML uses platform aliases instead of hard-coded template IDs. (#341, #347)
- CivisML versions and pre-installed packages are documented on Zendesk instead. (#341)
- Issue a
FutureWarning
on import for Python 2 and 3.4 users. (#333,
#340) - Pass
headers
anddelimiter
to Civis API endpoint for cleaning files incivis.io.civis_file_to_table
. (#334) - Issue a
FutureWarning
on import for Python 2 users. (#333) - Update the Civis logo in the Sphinx documentation. (#330)
- Allow the
name
arg to be optional incivis.io.file_to_civis
. (#324) - Refactor
civis.io.civis_file_to_table
to use a new set of Civis API endpoints for cleaning and importing CSV files. (#328) - Added new arguments to
civis.io.civis_file_to_table
to expose additional functionality from new Civis API endpoints. (#328) - Added new arguments from
civis.io.civis_file_to_table
todataframe_to_civis
andcsv_to_civis
methods. (#328)
v1.11.0
1.11.0 - 2019-08-26
Added
- Add CLI command "sql" for command line SQL query execution. (#319)
- Add helper function (run_template) to run a template given its id and return
either the JSON output or the associated file ids. (#318) - Add helper function to list CivisML models. (#314)
- Added helper functions to share CivisML models with users or groups,
patterned after the existing API sharing endpoints. (#315) - Allow the base URL of the CLI to be configured through the
CIVIS_API_ENDPOINT
environment variable, like the civis Python module. (#312) - Allow the CLI log level to be configured with the
CIVIS_LOG_LEVEL
environment variable with the standardlogging
module levels.
For example:CIVIS_LOG_LEVEL=DEBUG civis users list-me
(#312) - Allow users to access
civis.utils.run_job
after animport civis
. (#305) civis.io.dataframe_to_file
andcivis.io.json_to_file
convenience functions.
(#262, #304)- Add the user's Python version to the User-Agent string. (#255, #301)
- Added a
last_response
parameter to theAPIClient
object. (#153, #302) - The deprecate_param decorator can take multiple parameter names, to allow
Python 2.7 compatibility for multiple deprecations. (#311)
Fixed
- Added missing docs for
json_to_file
anddataframe_to_file
(#320). - Fix unintentional dependency on scikit-learn for
parallel
module tests. (#245, #303) - Deprecate the
headers
parameter ofdataframe_to_civis
and always tell Civis
whether the import has headers or not, rather than autodetecting. (#263, #307) - Set
cloudpickle
requirements to <1.2 on Python v3.4. (#309) - Fixed an issue in the CLI which prevented users from accessing GET /aliases/{id}
and simultaneously generated a warning message. (#298, #316)
Changed
- Loosened version requirements of
pyyaml
to includepyyaml<=5.99
. (#293) - Loosened version requirement of
jsonref
to include0.2
to fix a
DeprecationWarning under Python 3.7. (#295) - Changed pubnub version requirement in requirements.txt to match setup.py
(#295) - Loosened version requirements of
click
to include v7 andjsonschema
to include v3. (#286, #300) - Surfaced
civis.io.split_schema_tablename
in the Sphinx docs. (#294) - Loosen
joblib
version requirement to include v0.13 and add code to
the Civis joblib backend which newer versions ofjoblib
can take
advantage of. Also loosened version requirement oncloudpickle
to
include v1. (#296, #299) - Run all tests in Ubuntu Xenial. (#310)
v1.10.0
v1.9.4
1.9.3 - 2019-02-05
v1.9.2
v1.9.1
1.9.1 - 2018-11-15
Fixed
_stash_dataframe_as_csv
incivis/ml/_model.py
now uses aStringIO
object which has thegetvalue
method (required bypandas
v0.23.1
if a file-like object is passed intodf.to_csv
). (#259)civis_to_multifile_csv
fully respects theclient
keyword argument
Added
- Added instructions in the README for adding an API key to a Windows 10
environment - Configured Windows CI using AppVeyor. (#258)