Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package Maintenance Update #337

Merged
merged 6 commits into from Dec 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/end_to_end.yml
@@ -1,16 +1,17 @@
name: End to End Tests

on:
- push
- pull_request
push:
pull_request:
types: [opened, reopened]

jobs:
unit:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-20.04, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/lint.yml
@@ -1,8 +1,9 @@
name: Style Checks

on:
- push
- pull_request
push:
pull_request:
types: [opened, reopened]

jobs:
lint:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/minimum.yml
@@ -1,16 +1,17 @@
name: Unit Tests Minimum Versions

on:
- push
- pull_request
push:
pull_request:
types: [opened, reopened]

jobs:
minimum:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-20.04, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/numerical.yml
@@ -1,16 +1,17 @@
name: Numerical Tests

on:
- push
- pull_request
push:
pull_request:
types: [opened, reopened]

jobs:
unit:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-20.04, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/readme.yml
@@ -1,16 +1,17 @@
name: Test README

on:
- push
- pull_request
push:
pull_request:
types: [opened, reopened]

jobs:
readme:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
os: [ubuntu-latest, macos-latest] # skip windows bc rundoc fails
os: [ubuntu-20.04, macos-latest] # skip windows bc rundoc fails
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/tutorials.yml
@@ -1,12 +1,13 @@
name: Run Tutorials

on:
- push
- pull_request
push:
pull_request:
types: [opened, reopened]

jobs:
tutorials:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/unit.yml
@@ -1,16 +1,17 @@
name: Unit Tests

on:
- push
- pull_request
push:
pull_request:
types: [opened, reopened]

jobs:
unit:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-20.04, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
Expand Down
16 changes: 1 addition & 15 deletions AUTHORS.rst
@@ -1,15 +1 @@
Credits
=======

* Manuel Alvarez <manuel@pythiac.com>
* Carles Sala <csala@mit.edu>
* (Alicia) Yi Sun <yis@mit.edu>
* José David Pérez <jose@pythiac.com>
* Kevin Alex Zhang <kevz@mit.edu>
* Andrew Montanez <amontane@mit.edu>
* Gabriele Bonomi <gbonomib@gmail.com>
* Kalyan Veeramachaneni <kalyan@csail.mit.edu>
* Iván Ramírez <rollervan@gmail.com>
* Felipe Alex Hofmann <fealho@gmail.com>
* paulolimac <paulolimac@gmail.com>
* nazar-ivantsiv <nazar.ivantsiv@gmail.com>
See: https://github.com/sdv-dev/Copulas/graphs/contributors
118 changes: 101 additions & 17 deletions LICENSE
@@ -1,22 +1,106 @@
MIT License
Business Source License 1.1

Copyright (c) 2018, MIT Data To AI Lab
Parameters

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Licensor: DataCebo, Inc.

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Licensed Work: Copulas
The Licensed Work is (c) DataCebo, Inc.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Additional Use Grant: You may make use of the Licensed Work, and derivatives of the Licensed
Work, provided that you do not use the Licensed Work, or derivatives of
the Licensed Work, for a Synthetic Data Creation Service.

A "Synthetic Data Creation Service" is a commercial offering
that allows third parties (other than your employees and
contractors) to access the functionality of the Licensed
Work so that such third parties directly benefit from the
data processing, machine learning or synthetic data creation
features of the Licensed Work.

Change Date: Change date is four years from release date.
Please see https://github.com/sdv-dev/Copulas/releases
for exact dates.

Change License: MIT License


Notice

The Business Source License (this document, or the "License") is not an Open
Source license. However, the Licensed Work will eventually be made available
under an Open Source License, as stated in this License.

License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
"Business Source License" is a trademark of MariaDB Corporation Ab.

-----------------------------------------------------------------------------

Business Source License 1.1

Terms

The Licensor hereby grants you the right to copy, modify, create derivative
works, redistribute, and make non-production use of the Licensed Work. The
Licensor may make an Additional Use Grant, above, permitting limited
production use.

Effective on the Change Date, or the fourth anniversary of the first publicly
available distribution of a specific version of the Licensed Work under this
License, whichever comes first, the Licensor hereby grants you rights under
the terms of the Change License, and the rights granted in the paragraph
above terminate.

If your use of the Licensed Work does not comply with the requirements
currently in effect as described in this License, you must purchase a
commercial license from the Licensor, its affiliated entities, or authorized
resellers, or you must refrain from using the Licensed Work.

All copies of the original and modified Licensed Work, and derivative works
of the Licensed Work, are subject to this License. This License applies
separately for each version of the Licensed Work and the Change Date may vary
for each version of the Licensed Work released by Licensor.

You must conspicuously display this License on each original or modified copy
of the Licensed Work. If you receive the Licensed Work in original or
modified form from a third party, the terms and conditions set forth in this
License apply to your use of that work.

Any use of the Licensed Work in violation of this License will automatically
terminate your rights under this License for the current and all other
versions of the Licensed Work.

This License does not grant you any right in any trademark or logo of
Licensor or its affiliates (provided that you may use a trademark or logo of
Licensor as expressly required by this License).

TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
TITLE.

MariaDB hereby grants you permission to use this License’s text to license
your works, and to refer to it using the trademark "Business Source License",
as long as you comply with the Covenants of Licensor below.

Covenants of Licensor

In consideration of the right to use this License’s text and the "Business
Source License" name and trademark, Licensor covenants to MariaDB, and to all
other recipients of the licensed work to be provided by Licensor:

1. To specify as the Change License the GPL Version 2.0 or any later version,
or a license that is compatible with GPL Version 2.0 or a later version,
where "compatible" means that software provided under the Change License can
be included in a program with software provided under GPL Version 2.0 or a
later version. Licensor may specify additional Change Licenses without
limitation.

2. To either: (a) specify an additional grant of rights to use that does not
impose any additional restriction on the right granted in this License, as
the Additional Use Grant; or (b) insert the text "None".

3. To specify a Change Date.

4. Not to modify this License in any other way.
4 changes: 2 additions & 2 deletions copulas/__init__.py
Expand Up @@ -2,8 +2,8 @@

"""Top-level package for Copulas."""

__author__ = 'MIT Data To AI Lab'
__email__ = 'dailabmit@gmail.com',
__author__ = 'DataCebo, Inc.'
__email__ = 'info@sdv.dev'
__version__ = '0.7.1.dev0'

import contextlib
Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Expand Up @@ -59,9 +59,9 @@
project = 'Copulas'
slug = 'copulas'
title = project + ' Documentation',
copyright = '2018, MIT Data To AI Lab'
author = 'MIT Data To AI Lab'
description = 'A library to model multivariate data using copulas.'
copyright = '2022, DataCebo, Inc.'
author = 'DataCebo, Inc.'
description = 'Create tabular synthetic data using copulas-based modeling.'
user = 'sdv-dev'

# The version info for the project you're documenting, acts as replacement
Expand Down
13 changes: 7 additions & 6 deletions setup.py
Expand Up @@ -87,7 +87,7 @@
]

tutorials_require = [
'scikit-learn>=0.24,<2',
'scikit-learn>=0.24,<1.2',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason we changed this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the tutorials are not working since the demo datasets used are available until 1.2
Since this was for tutorials only I think it was okay to just cap it right away.

'jupyter>=1.0.0,<2',
]

Expand All @@ -103,28 +103,29 @@
]

setup(
author="MIT Data To AI Lab",
author_email='dailabmit@gmail.com',
author='DataCebo, Inc.',
author_email='info@sdv.dev',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'License :: Free for non-commercial use',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
description="A python library for building different types of copulas and using them for sampling.",
description='Create tabular synthetic data using copulas-based modeling.',
extras_require={
'tutorials': tutorials_require,
'test': tests_require + tutorials_require,
'dev': tests_require + development_requires + tutorials_require,
},
install_requires=install_requires,
license="MIT license",
license='BSL-1.1',
long_description=readme + '\n\n' + history,
long_description_content_type='text/markdown',
include_package_data=True,
Expand Down