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

Add Jupyter trove classifier. #1905

Closed
wants to merge 2 commits into from
Closed

Add Jupyter trove classifier. #1905

wants to merge 2 commits into from

Conversation

Carreau
Copy link
Contributor

@Carreau Carreau commented Apr 6, 2017

On top of #1899 that autoincrement classifier IDs.

Carreau added 2 commits April 4, 2017 14:52
This should allow to not have to bother about getting the id right when
inserting new.

Legacy PyPI does a :

```python
cursor = st.get_cursor()
    cursor.execute("select max(id) from trove_classifiers")
    id = cursor.fetchone()[0]
    if id:
        id = int(id) + 1
    else:
        id = 1
```

Then insert, which IIUC is subject to race conditions.
@ewdurbin
Copy link
Member

ewdurbin commented Apr 6, 2017

this was completed in response to pypi/legacy#210, we'll reassess trove classifier addition at a later date.

@ewdurbin ewdurbin closed this Apr 6, 2017
@Carreau
Copy link
Contributor Author

Carreau commented Apr 6, 2017

this was completed in response to pypi/legacy#210, we'll reassess trove classifier addition at a later date.

Thank you, I guess we entered a race condition :-) Greatly appreciated.

@Carreau Carreau deleted the jtrove branch April 6, 2017 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants