{"action":"created","issue":{"url":"https://api.github.com/repos/astropy/astropy/issues/2772","labels_url":"https://api.github.com/repos/astropy/astropy/issues/2772/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/2772/comments","events_url":"https://api.github.com/repos/astropy/astropy/issues/2772/events","html_url":"https://github.com/astropy/astropy/pull/2772","id":38267662,"number":2772,"title":"Configuration warnings with clean 0.3.2 -> 0.4 upgrade","user":{"login":"astrofrog","id":314716,"avatar_url":"https://avatars.githubusercontent.com/u/314716?v=3","gravatar_id":"","url":"https://api.github.com/users/astrofrog","html_url":"https://github.com/astrofrog","followers_url":"https://api.github.com/users/astrofrog/followers","following_url":"https://api.github.com/users/astrofrog/following{/other_user}","gists_url":"https://api.github.com/users/astrofrog/gists{/gist_id}","starred_url":"https://api.github.com/users/astrofrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astrofrog/subscriptions","organizations_url":"https://api.github.com/users/astrofrog/orgs","repos_url":"https://api.github.com/users/astrofrog/repos","events_url":"https://api.github.com/users/astrofrog/events{/privacy}","received_events_url":"https://api.github.com/users/astrofrog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/astropy/astropy/labels/config","name":"config","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/astropy/astropy/milestones/17","labels_url":"https://api.github.com/repos/astropy/astropy/milestones/17/labels","id":653255,"number":17,"title":"v0.4.1","description":"","creator":{"login":"astrofrog","id":314716,"avatar_url":"https://avatars.githubusercontent.com/u/314716?v=3","gravatar_id":"","url":"https://api.github.com/users/astrofrog","html_url":"https://github.com/astrofrog","followers_url":"https://api.github.com/users/astrofrog/followers","following_url":"https://api.github.com/users/astrofrog/following{/other_user}","gists_url":"https://api.github.com/users/astrofrog/gists{/gist_id}","starred_url":"https://api.github.com/users/astrofrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astrofrog/subscriptions","organizations_url":"https://api.github.com/users/astrofrog/orgs","repos_url":"https://api.github.com/users/astrofrog/repos","events_url":"https://api.github.com/users/astrofrog/events{/privacy}","received_events_url":"https://api.github.com/users/astrofrog/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":39,"state":"closed","created_at":"2014-05-08T17:33:44Z","updated_at":"2014-12-02T22:57:56Z","due_on":null,"closed_at":"2014-08-10T08:46:43Z"},"comments":6,"created_at":"2014-07-20T21:59:21Z","updated_at":"2015-01-23T22:20:00Z","closed_at":"2014-07-25T20:04:38Z","pull_request":{"url":"https://api.github.com/repos/astropy/astropy/pulls/2772","html_url":"https://github.com/astropy/astropy/pull/2772","diff_url":"https://github.com/astropy/astropy/pull/2772.diff","patch_url":"https://github.com/astropy/astropy/pull/2772.patch"},"body":"To reproduce:\r\n\r\n- start with clean Python install, no ``.astropy`` folder in home directory\r\n- install astropy 0.3.2 with e.g. ``conda install astropy=0.3.2``\r\n- install astropy 0.4 with e.g. ``conda install astropy=0.4``\r\n- start up python, then ``from astropy.io import fits``, gives:\r\n\r\n```\r\nWARNING: ConfigurationChangedWarning: The configuration options in astropy 0.4 may have changed, your configuration file was not updated in order to preserve local changes.  A new configuration template has been saved to '/Users/tom/.astropy/config/astropy.0.4.cfg'. [astropy.config.configuration]\r\n```\r\n\r\nI've also seen the same error as this person is reporting:\r\n\r\nhttp://stackoverflow.com/questions/24852262/astropy-deprecation-warning\r\n\r\nwith a slightly different upgrade path (can't remember exactly how!) on a machine on which I had not edited ``astropy.cfg``. To repeat their error:\r\n\r\n```\r\nWARNING: AstropyDeprecationWarning: Config parameter 'enabled_record_valued_keyword_cards' in section [io.fits] of the file 'C:\\Users\\nandhos.astropy\\config\\astropy.cfg' is deprecated. Use 'enable_record_valued_keyword_cards' in section [fits] instead. [astropy.config.configuration]\r\n```\r\n\r\nMight the two be related?\r\n\r\ncc @mdboom\r\n"},"comment":{"url":"https://api.github.com/repos/astropy/astropy/issues/comments/71276406","html_url":"https://github.com/astropy/astropy/pull/2772#issuecomment-71276406","issue_url":"https://api.github.com/repos/astropy/astropy/issues/2772","id":71276406,"user":{"login":"danzimm","id":166757,"avatar_url":"https://avatars.githubusercontent.com/u/166757?v=3","gravatar_id":"","url":"https://api.github.com/users/danzimm","html_url":"https://github.com/danzimm","followers_url":"https://api.github.com/users/danzimm/followers","following_url":"https://api.github.com/users/danzimm/following{/other_user}","gists_url":"https://api.github.com/users/danzimm/gists{/gist_id}","starred_url":"https://api.github.com/users/danzimm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danzimm/subscriptions","organizations_url":"https://api.github.com/users/danzimm/orgs","repos_url":"https://api.github.com/users/danzimm/repos","events_url":"https://api.github.com/users/danzimm/events{/privacy}","received_events_url":"https://api.github.com/users/danzimm/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T22:20:00Z","updated_at":"2015-01-23T22:20:00Z","body":"I'm not too familiar with what information you would need to help debug this, but I'm getting an issue similar to this on astropy 0.4.4. From a clean install of it (no upgrade) I get two messages:\r\n```\r\nWARNING: AstropyDeprecationWarning: ConfigurationItem has been deprecated in astropy 0.4. Use ConfigItem objects as members of ConfigNamespace subclasses instead.  See ConfigNamespace for an example. [astropy.config.configuration]\r\nWARNING: AstropyDeprecationWarning: Since 0.4, config parameter 'astropy.utils.data.REMOTE_TIMEOUT' is deprecated. Use 'astropy.utils.data.conf.remote_timeout' instead. [astropy.config.configuration]\r\n```\r\nAlso, every time I run this it recreates the config files (unsure if this is desired behavior). Let me know if there's another issue open for this, otherwise let me know what I can do to help!"}}