Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

3.1 issue137 centos setup#184

Merged
Marc-Andre-Rivet merged 3 commits intomasterfrom
3.1-issue137-centos-setup
Oct 31, 2018
Merged

3.1 issue137 centos setup#184
Marc-Andre-Rivet merged 3 commits intomasterfrom
3.1-issue137-centos-setup

Conversation

@Marc-Andre-Rivet
Copy link
Copy Markdown
Contributor

  • handling unicode chars for packages prop in setup.py
  • adding dash dependency

@chriddyp chriddyp temporarily deployed to dash-table-review-pr-184 October 30, 2018 14:10 Inactive
package = json.load(f)

package_name = package["name"].replace(" ", "_").replace("-", "_")
package_name = str(package["name"].replace(" ", "_").replace("-", "_"))
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The 3rd party library used by setuptools for the packages prop can't handle unicode characters.. casting through str(...) removed the unicode encoding and makes everything work.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Figured it was something to do with the encoding, thanks for confirming it.

license=package['license'],
description=package['description'] if 'description' in package else package_name,
install_requires=[]
install_requires=['dash']
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I've seen this dependency in other dash-* projects, let me know if there's a reason why it shouldn't be included here..

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It import dash in the __init__.py if that's like the other repos so it needs it.

package.json Outdated
{
"name": "dash-table",
"version": "3.1.0rc12",
"version": "3.1.0rc13",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

bump version

…-setup

# Conflicts:
#	CHANGELOG.md
#	dash_table/package.json
#	package.json
@Marc-Andre-Rivet
Copy link
Copy Markdown
Contributor Author

@T4rk1n Tagging for review. Thanks.

Copy link
Copy Markdown
Contributor

@T4rk1n T4rk1n left a comment

Choose a reason for hiding this comment

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

💃

package = json.load(f)

package_name = package["name"].replace(" ", "_").replace("-", "_")
package_name = str(package["name"].replace(" ", "_").replace("-", "_"))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Figured it was something to do with the encoding, thanks for confirming it.

license=package['license'],
description=package['description'] if 'description' in package else package_name,
install_requires=[]
install_requires=['dash']
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It import dash in the __init__.py if that's like the other repos so it needs it.

@Marc-Andre-Rivet Marc-Andre-Rivet merged commit 7383df4 into master Oct 31, 2018
@Marc-Andre-Rivet Marc-Andre-Rivet deleted the 3.1-issue137-centos-setup branch February 1, 2019 15:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants